apt-get install git wget curl libtool subversion gcc make automakecd /usr/local/srctar -xf libuv-v1.9.1.tar.gzcd libuv-v1.9.1sh autogen.sh./configuremakemake installcd ~echo "deb http://download.rethinkdb.com/apt `lsb_release -cs` main" | sudo tee /etc/apt/sources.list.d/rethinkdb.listapt-get updateapt-get install rethinkdbcp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/default.conf
systemctl restart rethinkdb
cd /usr/local/srccp /usr/local/src/ccl/scripts/ccl /usr/local/bincp /usr/local/src/ccl/scripts/ccl64 /usr/local/bincclccl64(quit)adduser turtl
su turtlcd ~ccl --load quicklisp.lispccl64 --load quicklisp.lisp(quicklisp-quickstart:install)(ql:add-to-init-file)(load (compile-file "asdf.lisp"))(quit)rm asdf.lisp quicklisp.lispcd /home/turtl/apivi launch.lisp(pushnew "./" asdf:*central-registry* :test #'equal)
(load "start")
exitcd /home/turtl/quicklisp/local-projectsvi /home/turtl/.ccl-init.lisp(cwd "/home/turtl/api")
(load "/home/turtl/api/launch")
cp /home/turtl/api/config/config.default.lisp /home/turtl/api/config/config.lispvi /home/turtl/api/config/config.lispsu turtlcd ~cclccl64exitvi /etc/rc.local
sudo -u turtl /usr/local/bin/cclsudo -u turtl /usr/local/bin/ccl64http://turtl.yourdomain.com:8181
Only problem I am having is trying to use an apache2 proxy to serve the 8181 ports.
Below is my apache2 configuration:
<VirtualHost *:80>
ServerName turtl.domain.com
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://127.0.0.1:8181/ Keepalive=On timeout=1600
ProxyPassReverse / http://127.0.0.1:8181/
LogLevel info
CustomLog ${APACHE_LOG_DIR}/turtl.log combined
</VirtualHost>
I have problems logging in, creating users, etc while using the proxy. If I use the ports 8181 directly I have no issues.
For example if I go to the proxied address at turtl.domain.com, I will get two different messages that switches when I hit refresh:
"There was an error processing your request: Authentication failed." or "Authentication failed."
If I connect on the 8181 port I only get "Authentication failed." message, no matter how much I refresh.
Is there some proxy issue with my setup?
tobiko# cat /etc/init.d/turtl
#!/sbin/openrc-run
depend() {
need rethinkdb.turtl
}
start() {
start-stop-daemon -b -n turtl -u turtl -d /var/lib/turtl/api -p /var/lib/turtl/turtl.pid -S --exec /bin/bash -- -c "/usr/bin/ccl --load start.lisp"
}
stop() {
start-stop-daemon -p /var/lib/turtl/turtl.pid -s SIGKILL turtl
}
I installed Turtl on Ubuntu 16.04 - server recently. ...and remember some similar issues, caused by
- my installation of Turtl.js or more specifically of npm ( I am using npm 3.10.8 )
- and to Turtl.api and config.lisp:
Here are some of my config.lisp entries : (defvar *db-host* "127.0.0.1"
(defvar *enabled-cors-resources* "http://local ip of the server:8182"
(defvar *site-url* "https://turtl.mysite.com"
(defvar *local-upload* "/home/turtl/data"
(defvar *local-upload-url* "https://turtl.mysite.com"
Just try, and feedback as specific as possible the issues you face ... Maybe one more hint: Firefox Developer console gives quite a lot of info
on the communication between server and host, and might help to pinpoint the issue Good luck!
--
You received this message because you are subscribed to a topic in the Google Groups "Turtl" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/turtl/q3kAYnAcH0s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to turtl+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to turtl+un...@googlegroups.com.
https://github.com/turtl/api/issues/37
Here are my setups. And the log from the terminal.
I would greatly appreciate any help, I spent infinite time trying to setup this software.
But I have to install libssl1.0.0 mannully, by downloading it from [Jessie's packages](https://packages.debian.org/jessie/amd64/libssl1.0.0/download). Otherwise ccl64 fails in the end due to lack of
`libssl.so.1.0.0 libssl.so.0.9.8 libssl.so libssl.so.4`