Raspberry Bob

113 views
Skip to first unread message

Dave

unread,
Mar 5, 2020, 11:35:44 PM3/5/20
to TiddlyWiki
Hi, I finally got around to getting a raspberry pi (4) that I've successfully set up my Plex server on, and I thought it should be okay to also have a Bob instance running on it as well.

But I'm having trouble getting it going as there's no error message on the node version, and on the BobExe version there's an error I don't understand.

First for the node version (I have node installed as well as git and npm) I did this (copy/paste)

Step by step instructions (using Node)

If you want to use a fresh local install of tiddlywiki here are command line instructions:

Clone the tiddlywiki repo and get the plugin (Only do this the first time to install everything):

git clone --depth=1 --branch v5.1.21 https://github.com/Jermolene/TiddlyWiki5.git
git clone --depth=1 https://github.com/OokTech/TW5-Bob.git TiddlyWiki5/plugins/OokTech/Bob
mkdir TiddlyWiki5/Wikis
cp -r TiddlyWiki5/plugins/OokTech/Bob/MultiUserWiki TiddlyWiki5/Wikis/BobWiki/

After that is finished, and to start up tiddlywiki later type:

cd TiddlyWiki5
node ./tiddlywiki.js Wikis/BobWiki  --wsserver

In a browser go to 127.0.0.1:8080 and the wiki should load. 


but nothing happens.

Here's the terminal readout:
pi@raspberrypi:~ $ git clone --depth=1 --branch v5.1.21 https://github.com/Jermolene/TiddlyWiki5.git
Cloning into 'TiddlyWiki5'...
remote: Enumerating objects: 6310, done.
remote: Counting objects: 100% (6310/6310), done.
remote: Compressing objects: 100% (5593/5593), done.
remote: Total 6310 (delta 846), reused 3728 (delta 518), pack-reused 0
Receiving objects: 100% (6310/6310), 8.23 MiB | 928.00 KiB/s, done.
Resolving deltas: 100% (846/846), done.
Note: checking out '165538180ef6a89a5f35ae9aa2d764e59f1f6191'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

pi@raspberrypi:~ $ git clone --depth=1 https://github.com/OokTech/TW5-Bob.git TiddlyWiki5/plugins/OokTech/Bob
Cloning into 'TiddlyWiki5/plugins/OokTech/Bob'...
remote: Enumerating objects: 237, done.
remote: Counting objects: 100% (237/237), done.
remote: Compressing objects: 100% (226/226), done.
remote: Total 237 (delta 21), reused 71 (delta 6), pack-reused 0
Receiving objects: 100% (237/237), 276.68 KiB | 990.00 KiB/s, done.
Resolving deltas: 100% (21/21), done.
pi@raspberrypi:~ $ mkdir TiddlyWiki5/Wikis
pi@raspberrypi:~ $ cp -r TiddlyWiki5/plugins/OokTech/Bob/MultiUserWiki TiddlyWiki5/Wikis/BobWiki/
pi@raspberrypi:~ $ cd TiddlyWiki5
pi@raspberrypi:~/TiddlyWiki5 $ node ./tiddlywiki.js Wikis/BobWiki  --wsserver
pi@raspberrypi:~/TiddlyWiki5 $ 


and when I use the BobExe version I get this error
pi@raspberrypi:~/Bob $ /home/pi/Bob/BobLinux
bash: /home/pi/Bob/BobLinux: cannot execute binary file: Exec format error


I'm sure I made it executable, but is a raspberry pi maybe 32 bit? (I used the 64 bit version)  I'll try that, but if that's the case I'd still like to know what I did wrong with the node version.


Thanks,
- Dave


adde01

unread,
Mar 6, 2020, 6:01:13 AM3/6/20
to tiddl...@googlegroups.com
I'm also having trouble getting the Bob.exe version working on Linux (Raspberry Pi 4gb). Same error as above.

Joost

unread,
Mar 6, 2020, 8:40:09 AM3/6/20
to TiddlyWiki

Most likely Bob has been compiled for arbitrary Linux (likely x86), so I believe it needs to be compiled for use with the Pi in order to get it working.


Op vrijdag 6 maart 2020 05:35:44 UTC+1 schreef Dave:

Dave

unread,
Mar 6, 2020, 9:36:43 AM3/6/20
to TiddlyWiki
Any ideas about getting the node version to work?

J.

unread,
Mar 6, 2020, 9:49:55 AM3/6/20
to tiddl...@googlegroups.com
Someone needs to compile it for ARM (processor the Pi uses), if my assumption is right. Best if the author of Bob cross-compiles it...

On Fri, Mar 6, 2020 at 3:36 PM Dave <ceda...@telus.net> wrote:
Any ideas about getting the node version to work?

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/1F6xP-tb45o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ced84286-bd5a-4786-98a3-6308a80b3259%40googlegroups.com.

Dave

unread,
Mar 6, 2020, 11:34:31 AM3/6/20
to TiddlyWiki
I'm pretty sure that I read somewhere that Jed actually designed Bob for use on the raspberry pi to be lighter weight than some of the other types of servers.

Maybe when I get home tonight I'll try compiling from source - that might be the ticket.

Reply all
Reply to author
Forward
0 new messages