Sen descrición

Johannes Zellner 5eac45d319 Reapply "Remove placeholder redirect" %!s(int64=2) %!d(string=hai) anos
apache bd14818989 Basic package fixes %!s(int64=5) %!d(string=hai) anos
supervisor bd14818989 Basic package fixes %!s(int64=5) %!d(string=hai) anos
website 5eac45d319 Reapply "Remove placeholder redirect" %!s(int64=2) %!d(string=hai) anos
CloudronManifest.json 326b8ffb56 Better redirect %!s(int64=3) %!d(string=hai) anos
Dockerfile e746e08283 Add placeholder page %!s(int64=3) %!d(string=hai) anos
README.md b20a6b727f Fixup shopping cart submission %!s(int64=5) %!d(string=hai) anos
start.sh c76b28f469 Make sessions persistent %!s(int64=5) %!d(string=hai) anos

README.md

Drop all existing tables use webterminal and mysql client connection.

https://docs.cloudron.io/guides/import-mysql/#export

Create sql dump with schema, maybe remove database creation and remove USE <databasename> from dump.

Upload dump to /app/data/dump.sql and import:

mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} < /app/data/dump.sql

Ensure charset for mysqli in database.php (2 of them) matches the tables!

Dump customer_template table. Upload to /app/data/customer_template.sql Import

mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} < /app/data/customer_template.sql