m0wer / tiddlywiki-docker

NodeJS based TiddlyWiki 5 Docker image.
https://hub.docker.com/r/m0wer/tiddlywiki
GNU General Public License v3.0
48 stars 28 forks source link

Stuck in reboot cycle - tiddlywiki_script=$(readlink -f $(which tiddlywiki)) ... SyntaxError: missing ) after argument list #13

Closed bukyo closed 1 year ago

bukyo commented 1 year ago

Using in Synology Docker, and today the wiki has failed. Not loading. Although I've tried to delete the container and image (initially kept my tiddlywiki folder in situ, but have since removed from the equation), I can't seem to get the container to stay up. It goes in to an endless reboot cycle.

Checking the logs, I see the following:

/usr/local/bin/init-and-run-wiki:4
tiddlywiki_script=$(readlink -f $(which tiddlywiki))
                              ^
SyntaxError: missing ) after argument list
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1195:20)
    at Module._compile (node:internal/modules/cjs/loader:1239:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
    at Module.load (node:internal/modules/cjs/loader:1133:32)
    at Module._load (node:internal/modules/cjs/loader:972:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47
Node.js v19.8.1

Initially thought it was something in the wiki causing theissue, but as I've deleted everything, and am trying to set up a new container with no historic files, I'm at a loss as to the cause.

Flova commented 1 year ago

I fixed the issue on the master, but the CI is broken and I can not manually deploy the new docker. So if you build it manually it should be fixed.

Flova commented 1 year ago

Fixed by https://github.com/m0wer/tiddlywiki-docker/commit/00c8f052e5222418f63a671a0aa359d73558cc37