Wednesday, March 8, 2017

How I Got Turtl Running on My Raspberry Pi 3

I was finally able to get Turtl running on my Raspberry Pi 3. Here's what worked for me.

My Network Issues
I had network problems that caused my "apt-get update" to somethimes fail. I fixed it by



Installing Turtl
Here is a great set of instructions: http://community.nethserver.org/t/turtl-server-an-evernote-alternative/5934/6
But I needed to make the following changes:

  1. RethinkDB
  2. CCL
    • For installing CCL, I used this SVN command since the Raspberry Pi runs an ARM processor: "svn co http://svn.clozure.com/publicsvn/openmcl/release/1.11/linuxarm/ccl"
  3. Turtl
    • In launch.lisp, "central-registry" has an asterisk before and after it
    • In turtl's /home/turtl/api/config/config.lisp, I had to specify my Pi's IP address for "server-bind" instead of using "localhost/127.0.0.1".


Logging
In /home/turtl/app/config/config.lisp, there's a section that looks like this
     :: setup the logger
     (vom:config :turtl :info)
":info" can be changed to ":debug" and you'll get more detailed logging in /var/logs/syslog

Remaining Issues
I'm still having some stability issues, where Turtl goes down with some sort of "connection refused" errors, but I haven't yet had time to investigate that.