diff --git a/start.sh b/start.sh
index abacc3a..3f4cf28 100755
--- a/start.sh
+++ b/start.sh
@@ -3,7 +3,6 @@
set -eu
mkdir -p /app/data/config
-chown -R cloudron:cloudron /app/data/config /app/data &
# if this if the first run, generate a useful config
if [ ! -f /app/data/config/config.xml ]; then
@@ -28,6 +27,8 @@ EOF
sed -e 's,.*,tcp://:22000,' -i /app/data/config/config.xml
sed -e 's,,,' -i /app/data/config/config.xml
+chown -R cloudron:cloudron /app/data/config /app/data
+
export STNODEFAULTFOLDER=1 STNOUPGRADE=1
exec busybox init