mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-17 20:53:28 +01:00
fix(ct): add setup_mariadb to update_script for repo updates
When MariaDB is installed with a specific version (e.g. 12.1.1), the repository URL becomes stale when that version is removed from mirrors. This causes 'apt update' to fail with 404 errors. Adding setup_mariadb to update_script ensures the MariaDB repository is updated to the current version before any apt operations run. Affected scripts (31): - 2fauth, apache-guacamole, booklore, bookstack, dolibarr - domain-monitor, firefly, ghost, glpi, hortusfox - invoiceninja, itsm-ng, kimai, leantime, librenms - limesurvey, managemydamnlife, mariadb, monica, passbolt - paymenter, pelican-panel, phpipam, plant-it, projectsend - pterodactyl-panel, shinobi, snipeit, wallabag, wavelog, wordpress
This commit is contained in:
@ -28,6 +28,7 @@ function update_script() {
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
setup_mariadb
|
||||
if check_for_gh_release "bookstack" "BookStackApp/BookStack"; then
|
||||
msg_info "Stopping Apache2"
|
||||
systemctl stop apache2
|
||||
|
||||
Reference in New Issue
Block a user