README: remove one-time migration section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
1ef4f6f743
commit
f081496b4b
1 file changed
-16
@@ -104,22 +104,6 @@ All routes require a login session. On first run you are redirected to `/setup`
|
||||
|
||||
**Changing the admin password** — click the ⚙ Settings button in the top-right corner. Enter your current password to confirm, then set a new username and/or password. You will be logged out automatically and redirected to login.
|
||||
|
||||
## Upgrading from an older install (path migration)
|
||||
|
||||
If you installed MicroNAS before the `/etc/micronas/` directory was introduced, run this once:
|
||||
|
||||
```bash
|
||||
mkdir -p /etc/micronas
|
||||
[ -f /etc/micronas.env ] && mv /etc/micronas.env /etc/micronas/micronas.env
|
||||
[ -f /etc/micronas-webdav.passwd ] && mv /etc/micronas-webdav.passwd /etc/micronas/webdav.passwd
|
||||
chown root:www-data /etc/micronas/webdav.passwd
|
||||
chmod 640 /etc/micronas/webdav.passwd
|
||||
# Patch the Apache config if it still references the old path
|
||||
sed -i 's|/etc/micronas-webdav.passwd|/etc/micronas/webdav.passwd|' \
|
||||
/etc/apache2/conf-available/micronas-webdav.conf
|
||||
cp /opt/micronas/micronas.service /etc/systemd/system/
|
||||
systemctl daemon-reload && systemctl restart micronas && systemctl reload apache2
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user