Releases: codetot-web/runcloud-bash-scripts
Releases · codetot-web/runcloud-bash-scripts
v0.0.1.3
Fixed
wp-migration.sh:$table_prefixis now parsed correctly. The previoussed "s/.*'//; s/'.*//"was greedy and captured the trailing;instead of the prefix value, producingprefix: ;in logs and silently breaking step 6 (URL update would query;optionsand fail). Replaced withawk -F"'"+ validation that the prefix matches[A-Za-z0-9_]+.
Deploy
cd /root/runcloud-bash-scripts && git stash && git pull origin main && chmod +x *.shv0.0.1.2
Fixed
wp-migration.sh: SSH connections multiplexed viaControlMaster=auto+ControlPersist=10m. Password (or key passphrase) prompted at most once per migration instead of ~8 times across the db-export, rsync, config-sync, submodule-init, and url-update steps.wp-migration.sh: database import errors are no longer masked.mysqlfailures (e.g.ERROR 1045 Access denied) abort the migration with an actionable hint about destination DB/user/password requirements, instead of being followed by a bogus "Database imported successfully" line.
Deploy
cd /root/runcloud-bash-scripts && git stash && git pull origin main && chmod +x *.shv0.0.1.1
Fixed
wp-migration.sh: source path is now auto-detected by scanning/home/*/webapps/<app>instead of trusting$USER, which broke the script when invoked as root (/home/root/webapps/...doesn't exist) and didn't support custom system users on private servers. Override withSRC_USER=<user>if auto-detection picks the wrong match (#21).wp-git-cleanup.sh: detect stale.git/index.lockfrom a previously crashed run and abort cleanup with an actionable error instead of silently swallowing every subsequentgit commitfailure (#19). Commit and add operations now also surface their exit code rather than masking it.
Deploy
cd /root/runcloud-bash-scripts && git stash && git pull origin main && chmod +x *.shOr via cron-installed self-update.sh (note: silent-fails on servers with local modifications — use the manual command above if in doubt).