Turtl - Server install...

757 views
Skip to first unread message

Earnest Redwood

unread,
Aug 25, 2016, 8:37:14 PM8/25/16
to Turtl


 Has anyone install the Turtl - Server successfully, if you have can you please share with me how you did it. I love working with Linux and Open-Sources, and I want to support this project.  I am not a programmer, I am a tech on the hardware end. If you show me how to get it started I can make it work. It's that teach a man how to fish thing. I thank this is a assume project and I want to get away form
  ever-note, and get the word out about Turtl. Can someone help me please.


Michael Tiefenbacher

unread,
Aug 25, 2016, 10:15:13 PM8/25/16
to Turtl
Yes, I installed Turtl on a Raspberry PI (running Raspian (=Debian Jessy)) following the instructions from the web.
Where are you stuck?

coutin...@gmail.com

unread,
Aug 27, 2016, 6:01:18 AM8/27/16
to Turtl
I am also having problems installing a self-hosted version of turtl... this is now the third time I attempt to install and I always end giving up as the instructions are not clear and there aren't any other guides available detailing the process.
I have also installed SBCL, RethinkDB, compiled Libuv - all correctly (or so I think...)
But the config.lisp is a nutcracker, not sure what to change there, if anything at all. Also not clear where to run the api from (tried in root, in /opt, inside quicklisp folder, etc...).
I've tried running simply (load "start), I've tried (push #p"/path/to/turtl/api/" asdf:*central-registry*), I've tried (pushnew "./" asdf:*central-registry* :test #'equal), but it always gives me errors.
Not even sure of permissions and ownership...
A detailed guide of the installation for a less technical user would be very welcomed, thanks.

Michael Tiefenbacher

unread,
Aug 27, 2016, 11:17:00 PM8/27/16
to Turtl
I'll try my best to help, but I also succeeded by trial and error.
Please don't ask 'why' I did certain things, I found some hint in some forum and just tried ...

So here is what worked for me:
My first attempt was using SBCL ( as I am using Linux), but after installation I encountered several issues, and found the recommendation to use CCL - which also worked for me

1) I am starting Turtl from the installation directory). In my case /home/turtl/api.

2) instead of launching stark.list I created another file launch.lisp which I am launching:
(pushnew "./" asdf:*central-registry* :test #'equal)
(load "start")

3) some 'libraries' seem missing ( not sure if all are needed!) - so I added them to quicklisp
4) in '/root/.ccl-init.lisp' I added:
(cwd "/home/turtl/api")
(load "/home/turtl/api/launch")

That should be all ...
Hope it helps!

Fred C

unread,
Aug 30, 2016, 8:55:31 AM8/30/16
to Turtl

Hi TieMichael 

The Instructions you posted really helped, thanks! I finally managed to get it working after a few more days of tweaking. 
But all seems good now and I couldn't have done it without your help. I also found this recent tutorial - https://www.shaeffer.co/wordpress/index.php/2016/07/27/installing-a-turtl-server/ - which also helped a bit.

I think I now have a detailed guide on how to install turtl from scratch ina  debian 8 and I will post it here in the group.

Once again, many thanks for the help.

Fred


Fred C

unread,
Aug 30, 2016, 9:36:50 AM8/30/16
to Turtl
I've posted the detailed guide on how I've installed Turtl on Debian here:


Hope it helps and thanks to TieMichael for the tips.

Earnest Redwood

unread,
Aug 30, 2016, 11:05:43 AM8/30/16
to Fred C, Turtl
Thank you Fred, for you help. I have a Centos7 server at home I use it a file server, I just want to put something on it that I can use it all the time with. What I m hoping for here is that the turtl team can put this out so that I can load it and ditch Evernote. 

Earnest L. Redwood
linuxm...@gmail.com
678 685-8422
 

No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.

 

Herbert Mayer

--
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/-LesYBQ9-3g/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.

TieMichael

unread,
Aug 31, 2016, 7:13:50 AM8/31/16
to Turtl
@Fred: Glad that I was able to help!
And thank you for compiling the detailed instructions! I am sure many are going to benefit.
Thanks!
Michael
Message has been deleted

aten...@gmail.com

unread,
Oct 2, 2016, 6:49:44 AM10/2/16
to Turtl
Does anyone know if a valid SSL certificate is required for the app to connect to the server? I am successfully reaching the server across the internet through an nginx proxy, but the app itself can never connect to server. I can't think of anything else that would be the problem. I am open to all suggesgtions. Thanks in Advance!

aten...@gmail.com

unread,
Oct 2, 2016, 8:20:38 AM10/2/16
to Turtl
OK! It did turn out to be because of an invalid SSL certificate. Temporarily corrected by a free Comodo certificate.

Fred C

unread,
Oct 3, 2016, 9:19:27 AM10/3/16
to Turtl, aten...@gmail.com
Hi,
Are you binding the instance to localhost?
in the config.lisp you should have the following:

(defvar *server-bind* "127.0.0.1"
  "The address to bind Turtl to (nil is the same as 0.0.0.0).")

hope it helps,
F
Reply all
Reply to author
Forward
0 new messages