elvisimprsntr
Guru
- Joined
- Jun 2, 2019
- Messages
- 591
That seems like an unrelated problem.I've done it 4 times. Same error over and over again. Middleware won't load , errors in files I did not edit.
Suggest
1. Backup your config (export secret seed)
2. If you can't access the WebGUI to backup your config, you can do it manually (see example script).
NOTE: I think there is a way to backup config via CLI, but it isn't working on my system.
#!/bin/sh
FILENAME="`hostname -s`-`cut -d' ' -f1 /etc/version`-`date +%Y%m%d`.tar"
#echo $FILENAME
tar -cvlf /mnt/data/Software/truenas/$FILENAME --strip-components=2 \
/data/freenas-v1.db \
/data/pwenc_secret \
/root/.ssh
echo "Backup $FILENAME created"
find /mnt/data/Software/truenas/NAS-?-TrueNAS-*.tar -mtime +365 -exec rm {} \;
3. Re-install the latest nightly from ISO. https://download.truenas.com/truenas-scale-nightly/
4. Restore config
Last edited: