73b561ed33
- edubox-tools.patch : getShopDomain/Ssl conservent les ports non standards - edubox-configuration.patch : PS_SHOP_DOMAIN, _PS_BASE_URL_, PS_SSL_ENABLED… résolus dynamiquement - edubox-shop-getbaseurl.patch : Shop::getBaseURL() utilise le host de la requête - edubox-shopurl.patch : getMainShopDomain conserve les ports non standards - edubox-clear-cache-init.sh : vidage des caches à chaque démarrage - seed.ts : passage au tag 9-edubox-9 - README mis à jour avec les nouveaux patches
17 lines
696 B
Diff
17 lines
696 B
Diff
--- a/tmp/docker_run.sh 2026-06-20 17:57:12.682339048 +0000
|
|
+++ b/tmp/docker_run.sh 2026-06-20 17:57:12.852338398 +0000
|
|
@@ -21,6 +21,13 @@
|
|
|
|
# From now, stop at error
|
|
set -e
|
|
+# EduBox: if a previous installation failed, install.lock remains but PrestaShop is not configured.
|
|
+# Remove the stale lock so the installer can run again on the next start.
|
|
+if [ -f ./install.lock ] && [ ! -f ./config/settings.inc.php ] && [ ! -f ./app/config/parameters.php ]; then
|
|
+ echo "\n* Stale install.lock detected, removing it to allow reinstallation ..."
|
|
+ rm -f ./install.lock
|
|
+fi
|
|
+
|
|
|
|
if [ ! -f ./config/settings.inc.php ] && [ ! -f ./app/config/parameters.php ] && [ ! -f ./install.lock ]; then
|
|
|