Install errors
-
@james fantastic, thank you. I will try that.
Just one question. Will this work well for later updates of the app?
@stoccafisso said in Install errors:
Will this work well for later updates of the app?
I am trying to fix this issue without this dirty hands-on fix.
So, if I get this fixed, my quickfix guide is not needed. -
The following guide will delete all existing dataIf you want a quick fix right now - after the installation, put your app into recovery mode.
Open the web terminal and delete all data in
/app/data/*rm -r /app/data/*In the web terminal drop all tables from the database:
mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -Nse 'show tables' | while read table; do mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -e "SET FOREIGN_KEY_CHECKS = 0; drop table \`$table\`"; doneEdit the
/app/pkg/start.shand find this section:echo "==> Finish configuration" $curl http://localhost:8000/installer/config/finish $curl http://localhost:8000/installer/config/finishedComment out the two curl statements, it should look like this:
echo "==> Finish configuration" # $curl http://localhost:8000/installer/config/finish # $curl http://localhost:8000/installer/config/finishedSave and exit the file.
Run the
start.shmanually with:/app/pkg/start.shIt will run once and exit, after that, run the same command again.
/app/pkg/start.shNow that it is running, visit your Humhub url.
You will see the manual setup process:
After finishing this guided initial setup you can login with
adminandchangemeand will have all the demo data including the user profile fields.
You can turn off the recovery mode now and the app will work as intended.
This post is deleted!