SOLVED hackmd - Read-Only file system when exporting to PDF
@nebulon pdf export was disabled per default a while ago. Therefore you need to enable it manually https://github.com/codimd/server/blob/a160d81fe33044ca8fbb71addd77c40d55b37251/docs/configuration.md#codimd-basics
Commit disabling it: https://github.com/codimd/server/commit/c1789474020a6d668d616464cb2da5e90e123f65
Thanks for the info, so from the code it looks like it makes no sense to have it currently enabled? I guess we can revisit this path issue once upstream has fixed this (and then maybe even fixed the path building)
Can you set
/tmpin your config ?
@girish I tried but I may confused I can't find the config for the app ??
if I do cp config.json.example config.json I get :
cp: cannot create regular file 'config.json': Read-only file system
if I go to parent direction, I see the linux tree, I'm confused
@rmdes you have to edit
@fbartels Thats the thing, I don't have any config.json there, I see a build and upload and build directory, if I try to edit the only config.json.example I see at the root hackmd directory it say I cant edit in a read-only filesystem..
I'm wondering if this is because the first time I installed this app was a custom build app that I then upgraded to the official cloudron build release..
@rmdes that is strange. because the startup script creates this file if it does not exist.
Can you post the output of
Which version does Cloudron say you have installed? (mine is v1.10.0-1)
@fbartels I'm on v5.6.3
I don't have a code/start.sh in the first place, I don't have a code directory.
@fbartels installing now codiMD on another domain, will compare the two apps
Oh sorry, the one I just installed is Package v1.10.0-1
the one coming from the time this app was called HackMD is Package v0.0.2
does not give more details than this..
I think I will backup this old app, install CodiMD fresh and restore backup, not sure it will work
Looks like you have installed and used ever since a version which was not yet published to the app library as stable or even installed it manually via cli.
@nebulon Correct this was installed via cli at least 2 years ago, at some point there was an upgrade to the package and that was it, it stopped to evolve because the move to CodiMD
since then we have used it without issue, other than PDF exporting now working.
Now that I have installed CodiMD, I went to the defauld config.json file and enabled PDFexport to True, I'm not seeing PDF in the export choice but that's maybe another issue ?
This is what I see in the dropdown menu when trying to export with PDF enabled to true in the config.json file, I restart the app after making the change to config.json
I think we can close this since it's irrelevant to the actual codiMD app in the store