I have just published Grav CMS as an unstable app. Most of the packaging work was done by @jimcavoli . Thanks a lot, Jim!
The app is not integrated with Cloudron LDAP yet, I expect that to be added soonish. I am in the process of writing the tests, it will become a stable app after that.
cough bitwarden cough
yusf last edited by
Hi, I get this when trying to install a plugin:
Unable to move the library files to /app/data/user/plugins/get-id3/library/ Files are missing from the getID3 library. Please see the grav log files for more information Please manually download the library from http://www.getid3.org/ and follow the installation instructions in the README.md file for this plugin.
Grav log file only says:
[2019-12-20 23:39:44] grav.INFO: Unable to move the library files to /app/data/user/plugins/get-id3/library/  
Not sure if Cloudron related though, but it sounds like a directory permissions issue.
@yusf Does look like a packaging issue, will look into it.
Investigated this a bit and this is just a plugin related issue. https://github.com/jgonyea/grav-plugin-get-id3/blob/develop/get-id3.php#L174 is trying to install the get-id3 library and failing. It's unclear why because there is no logs about why it's failing. The workaround is to follow https://github.com/jgonyea/grav-plugin-get-id3#post-installation. Just need to:
cp -r /app/data/user/plugins/get-id3/tmp/extracted/getID3-1.9.15/getid3/* /app/data/user/plugins/get-id3/library
@girish Thanks so much for getting Grav on Cloudron! I've been having several issues which I think are related to permissions and I've posted the details at https://git.cloudron.io/cloudron/grav-app/issues/1
Happy to help test etc. if helpful.
@paulhibbitts The issue is related to permissions indeed. When you ran
bin/gpm install bootstrap4-open-matterthis installed the files as root. You have to make sure the files are owned by
www-datauser. You can fix this in two way:
sudo -u www-data -- bin/gpm install bootstrap4-open-matter
Alternately, just restart the app (from Console -> Restart). Restarting the app will run the packages startup script again which fixes up the ownership.
yusf last edited by
@girish Is this similar to the
gosucommand used for the, say, NodeBB app? Please document it if you haven't already.
I'm thinking there should be some wrapper command for each app that needs custom command line stuff like this so that the command looks and feels similar across apps. What do you think?
girish last edited by girish
Yup, exactly. Similar to gosu. For now, I pushed a simple doc page at https://cloudron.io/documentation/apps/grav/ . One can also do:
/usr/local/bin/gosu www-data:www-data bin/gpm install bootstrap4-open-matter