Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6bcfefa5f
|
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
/usr/local/bin/docker-entrypoint.sh "$@" &
|
||||
/usr/local/bin/docker-entrypoint.sh "$@" --skip-networking &
|
||||
server_pid=$!
|
||||
|
||||
trap 'kill -TERM "$server_pid" 2>/dev/null || true; wait "$server_pid"' TERM INT
|
||||
@@ -24,6 +24,9 @@ until {
|
||||
sleep 1
|
||||
done
|
||||
|
||||
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;"
|
||||
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';"
|
||||
|
||||
kill -TERM "$server_pid"
|
||||
wait "$server_pid"
|
||||
|
||||
exec /usr/local/bin/docker-entrypoint.sh "$@"
|
||||
@@ -1,18 +1,18 @@
|
||||
import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk'
|
||||
|
||||
export const current = VersionInfo.of({
|
||||
version: '5.1.0:4',
|
||||
version: '5.1.0:10',
|
||||
releaseNotes: {
|
||||
en_US:
|
||||
'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',
|
||||
'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',
|
||||
es_ES:
|
||||
'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',
|
||||
'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',
|
||||
de_DE:
|
||||
'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',
|
||||
'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',
|
||||
pl_PL:
|
||||
'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',
|
||||
'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',
|
||||
fr_FR:
|
||||
'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',
|
||||
'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',
|
||||
},
|
||||
migrations: {
|
||||
up: async () => {},
|
||||
|
||||
Reference in new issue
Block a user