diff --git a/README.md b/README.md index 10486d8..575eb84 100644 --- a/README.md +++ b/README.md @@ -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 -``` ---