Closed 825i closed 3 years ago
I'm experiencing the same issue.
SyntaxError: missing ) after argument list in /opt/hedgedoc/public/views/index.ejs while compiling ejs
Internal server error: https://hedgedoc.silkky.cloud/
If you look in #12 you can see that it happens when updating to 1.8.0. So looks like it's an upstream issue as we don't touch that file. Look here for file making the issue https://github.com/linuxserver/docker-hedgedoc/issues/12#issuecomment-832107084
Can you guys test if it works when using the below image. Please do a backup before testing it.
lspipepr/hedgedoc:amd64-1.8.0-pkg-1837b0ef-pr-14
There was some symlinks that was copying some files from inside the container to /config and symlinked back to the container resulting in those files to never get updated. Not sure why it was done.
From my limited testing nothing bad happened by removing that logic.
Can you guys test if it works when using the below image. Please do a backup before testing it.
lspipepr/hedgedoc:amd64-1.8.0-pkg-1837b0ef-pr-14
There was some symlinks that was copying some files from inside the container to /config and symlinked back to the container resulting in those files to never get updated. Not sure why it was done. From my limited testing nothing bad happened by removing that logic.
Your image worked for me, i didn't observe any issues or data loss.
The above image works perfectly. No data loss suffered at all, thank you! I will stay on this for a while until they fix their issues upstream.
Thanks for confirming. I'll merge the fix later today, so you can switch back to the normal linuxserver/hedgedoc after the new version is pushed. It's not an upstream issue. We have copied som files to the /config path and then symlinked them inside the app folder again, so they would never be updated if hedgedoc updated them, unless you set up a new container without an existing config. Why it was done this way I don't know. Might have been something that was needed before, but is now obsolete.
Fixed with #14
Tried to open my hedgedoc instance today and got the following. External mapped URL and internal URL do not work and each gives their own error. All I did yesterday was create a few notes with tags.
Expected Behavior
The frontend should open
Current Behavior
I get "Internal server error"
Steps to Reproduce
https://hedgedoc.zeptinune.download
Environment
Unraid Docker
I have not changed or modified the docker container at all, just installed and registered an account and made some notes.