### Newest Testing Versions:
```
+2.0.0-testing.3 (2025-10-13)
+- Updated the migration process in the frontend. When migration fails on serverside, the user now gets notified.
+
2.0.0-testing.2 (2025-10-13)
- Trying to fix a bug in the migration process by removing unnecessary code (that should validate some data, but was probably harmful instead).
```
-2.0.0-testing.2
+2.0.0-testing.3
"alert": {
"empty_fields": "Eingabefelder dürfen nicht leer sein!",
"login_failed": "Login fehlgeschlagen!<br />\nBitte Eingabedaten überprüfen.",
+ "migration_failed": "Die Migration ist fehlgeschlagen! Schaue in den Serverlogs nach (z. B. mit <code>docker logs dailytxt</code>), ob du dort genauere Informationen findest!",
"passwords_do_not_match": "Passwörter stimmen nicht überein!",
"registration_allowed_until": "Registrierung temporär geöffnet bis {date_and_time} (Serverzeit).",
"registration_failed": "Registrierung fehlgeschlagen - bitte Fehlermeldungen analysieren!",
"alert": {
"empty_fields": "Fields must not be empty!",
"login_failed": "Login failed!<br />\nPlease check your input data.",
+ "migration_failed": "The migration failed! Check the server logs (e.g., with <code>docker logs dailytxt</code>) to see if you can find more detailed information there!",
"passwords_do_not_match": "Passwords do not match!",
"registration_allowed_until": "Registration temporarily open until {date_and_time} (Server time).",
"registration_failed": "Registration failed - please analyze the error messages!",
});
}
+ let show_migration_failed = $state(false);
function handleMigrationProgress(username) {
// Poll the server for migration progress
const interval = setInterval(() => {
if (
!response.data.migration_in_progress &&
- !response.data.progress.phase === 'not_started'
+ response.data.progress?.phase !== 'not_started' &&
+ response.data.progress?.phase !== 'completed'
) {
console.log('Migration stopped');
is_migrating = false;
+ show_migration_failed = true;
clearInterval(interval);
}
})
show_login_failed = false;
show_login_warning_empty_fields = false;
is_migrating = false;
+ show_migration_failed = false;
const username = document.getElementById('loginUsername').value;
const password = document.getElementById('loginPassword').value;
{/if}
</div>
{/if}
+ {#if show_migration_failed}
+ <div class="alert alert-danger" role="alert">
+ {@html $t('login.alert.migration_failed')}
+ </div>
+ {/if}
{#if show_login_failed}
<div class="alert alert-danger" role="alert">
{@html $t('login.alert.login_failed')}