Current Behavior
by using the auto-updater script sudo bash -c "$(curl -fsSL https://pelican.dev/updatePanel.sh)", it asks for some information (like the directory of the panel, the user and group owner of the files, wether to backup or not, etc...).
it actually backups everything correctly in the right folder, but when it comes to deleting old data, it deletes everything (except the backup folder) and after that it throws this error rm: cannot remove '/var/www/pelican/storage': Directory not empty and exits.
i had to update the panel manually and copy the backup data manually via cli to the target folders.
Expected Behavior
it should automatically backup data, delete folders, reinstall new panel and use backups to restore databases and get everything up and running automatically.
Steps to Reproduce
just run the command for the auto-update script as shown in the website at https://pelican.dev/docs/panel/update/.
please, add some dry-runs or people that are not practical to using linux or the cli could easily break everything and loose their data if this issue is not fixed asap.
Panel Version
update ver: 1.0.0-beta38
Wings Version
not relatable
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
Current Behavior
by using the auto-updater script
sudo bash -c "$(curl -fsSL https://pelican.dev/updatePanel.sh)", it asks for some information (like the directory of the panel, the user and group owner of the files, wether to backup or not, etc...).it actually backups everything correctly in the right folder, but when it comes to deleting old data, it deletes everything (except the backup folder) and after that it throws this error
rm: cannot remove '/var/www/pelican/storage': Directory not emptyand exits.i had to update the panel manually and copy the backup data manually via cli to the target folders.
Expected Behavior
it should automatically backup data, delete folders, reinstall new panel and use backups to restore databases and get everything up and running automatically.
Steps to Reproduce
just run the command for the auto-update script as shown in the website at
https://pelican.dev/docs/panel/update/.please, add some dry-runs or people that are not practical to using linux or the cli could easily break everything and loose their data if this issue is not fixed asap.
Panel Version
update ver: 1.0.0-beta38
Wings Version
not relatable
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?