mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
Merge pull request #243 from freenas/NAS-105394
NAS-105394 / None / Fix data migrations not being applied
This commit is contained in:
@@ -86,7 +86,9 @@ post-upgrade =
|
||||
if [ ! -f "/data/update.failed" ]; then
|
||||
/usr/local/sbin/migrate > "/data/update.failed" 2>&1 && rm -f /data/update.failed
|
||||
fi
|
||||
|
||||
if [ ! -f "/data/update.failed" ]; then
|
||||
/usr/local/bin/sqlite3 /data/freenas-v1.db "REPLACE INTO system_keyvalue (key, value) VALUES ('run_migration', 'true')" > "/data/update.failed" 2>&1 && rm -f /data/update.failed
|
||||
fi
|
||||
rm -f /data/sentinels/unscheduled-reboot
|
||||
|
||||
[Files]
|
||||
|
||||
Reference in New Issue
Block a user