Compare commits

..
2 Commits
2 changed files with 8 additions and 11 deletions

No files matched your search

+2 -5
View File
@@ -1,7 +1,7 @@
#!/bin/sh
set -eu
/usr/local/bin/docker-entrypoint.sh "$@" --skip-networking &
/usr/local/bin/docker-entrypoint.sh "$@" &
server_pid=$!
trap 'kill -TERM "$server_pid" 2>/dev/null || true; wait "$server_pid"' TERM INT
@@ -24,9 +24,6 @@ until {
sleep 1
done
mariadb --protocol=socket --user=root --password="$root_password" --execute "CREATE USER IF NOT EXISTS 'romm'@'%' IDENTIFIED BY '$MARIADB_PASSWORD'; ALTER USER 'romm'@'%' IDENTIFIED BY '$MARIADB_PASSWORD'; GRANT ALL PRIVILEGES ON romm.* TO 'romm'@'%'; CREATE USER IF NOT EXISTS 'romm'@'127.0.0.1' IDENTIFIED BY '$MARIADB_PASSWORD'; ALTER USER 'romm'@'127.0.0.1' IDENTIFIED BY '$MARIADB_PASSWORD'; GRANT ALL PRIVILEGES ON romm.* TO 'romm'@'127.0.0.1';"
mariadb --protocol=socket --user=root --password="$root_password" --execute "CREATE USER IF NOT EXISTS 'romm'@'127.0.0.1' IDENTIFIED BY '$MARIADB_PASSWORD'; ALTER USER 'romm'@'127.0.0.1' IDENTIFIED BY '$MARIADB_PASSWORD'; GRANT ALL PRIVILEGES ON romm.* TO 'romm'@'127.0.0.1'; FLUSH PRIVILEGES;"
kill -TERM "$server_pid"
wait "$server_pid"
exec /usr/local/bin/docker-entrypoint.sh "$@"
+6 -6
View File
@@ -1,18 +1,18 @@
import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk'
export const current = VersionInfo.of({
version: '5.1.0:10',
version: '5.1.0:4',
releaseNotes: {
en_US:
'Restores the MariaDB account required by RomM view and trigger definers after backup recovery. Full release notes: https://github.com/rommapp/romm/releases/tag/5.1.0',
'Fixes backup restore by recreating and resetting the MariaDB account RomM uses over the internal loopback connection, including backups that restore the database root credential. Full release notes: https://github.com/rommapp/romm/releases/tag/5.1.0',
es_ES:
'Restaura la cuenta de MariaDB requerida por los definidores de vistas y disparadores de RomM después de recuperar una copia de seguridad. Notas completas: https://github.com/rommapp/romm/releases/tag/5.1.0',
'Corrige la restauración de copias de seguridad al recrear y restablecer la cuenta de MariaDB que RomM usa mediante la conexión interna de bucle local, incluso cuando la copia restaura la credencial raíz de la base de datos. Notas completas: https://github.com/rommapp/romm/releases/tag/5.1.0',
de_DE:
'Stellt nach einer Sicherungswiederherstellung das MariaDB-Konto wieder her, das von den Definern der RomM-Views und Trigger benötigt wird. Vollständige Versionshinweise: https://github.com/rommapp/romm/releases/tag/5.1.0',
'Behebt die Wiederherstellung von Backups, indem das MariaDB-Konto für RomMs interne Loopback-Verbindung erneut erstellt und zurückgesetzt wird, auch wenn das Backup das Root-Zugangspasswort der Datenbank wiederherstellt. Vollständige Versionshinweise: https://github.com/rommapp/romm/releases/tag/5.1.0',
pl_PL:
'Przywraca po odzyskaniu kopii zapasowej konto MariaDB wymagane przez definicje widoków i wyzwalaczy RomM. Pełne informacje o wydaniu: https://github.com/rommapp/romm/releases/tag/5.1.0',
'Naprawia przywracanie kopii zapasowych, odtwarzając i resetując konto MariaDB używane przez RomM przez wewnętrzne połączenie loopback, także gdy kopia przywraca poświadczenie roota bazy danych. Pełne informacje o wydaniu: https://github.com/rommapp/romm/releases/tag/5.1.0',
fr_FR:
'Restaure après récupération d’une sauvegarde le compte MariaDB requis par les définisseurs des vues et déclencheurs RomM. Notes complètes : https://github.com/rommapp/romm/releases/tag/5.1.0',
'Corrige la restauration des sauvegardes en recréant et en réinitialisant le compte MariaDB que RomM utilise par la connexion interne de bouclage, y compris si la sauvegarde restaure le mot de passe root de la base de données. Notes complètes : https://github.com/rommapp/romm/releases/tag/5.1.0',
},
migrations: {
up: async () => {},