Latest update works! Thanks for the fixes.
I'm going to play with it for a bit but I'll leave a few more things I noticed in case you want to address those too:
- If you do
git add --chmod=+x cld.sh
locally you can then commit the executable flag with your repo and skip a step in the README. - The
cld.sh
script should probably have aset -e
line at the top (after the#!/bin/bash
) to make sure the script stop executing if something goes wrong with one of the commands. - Currently everything in
/app/data
is owned byroot
and I believe agate itself is launched as a root owned app. It's probably safer to make all the files in in/app/data
owned bycloudron:cloudron
and launch programs with/usr/local/bin/gosu cloudron:cloudron
to run as the cloudron user. I might be off here but that was my understanding of recommended behavior looking at the documentation. Someone else can deny or confirm.
Great job on the app!