gas85
January 17, 2019, 9:07am
6
Thats strange… Basically this is where your data saved.
But based on this:
It looks like your clean up step (that is basically number 9) has the same issue that I mentioned here:
opened 01:19PM - 10 Jan 19 UTC
enhancement
feature: backups
robustness 💪
### Steps to reproduce
1. Start update from e.g. 14.0.3 to 14.0.4 on weak HW o… r with low time outs set.
2. On Backup step you will see an error:
```
Create backup
Parsing response failed. <html> <head><title>504 Gateway Time-out</title></head> <body bgcolor="white"><center><h1>504 Gateway Time-out</h1></center> <hr><center>Apache</center> </body> </html>
```
3. Check that Backup was successful via SSH:
```
# cd /var/www/nextcloud/data/updater-YOURID/
# cat .step
{"state":"end","step":3}
```
you can see that step 3 (backup) was finished.
4. Check your Backup directory:
```
# du -sh backups/nextcloud-14.0.3.0/
297M backups/nextcloud-14.0.3.0/
```
5. In web press button "Retry"
6. Update will start from the begging - doing backup, meeting Time out --> Loop.
### Expected behaviour
Updater should check last step under ...nextcloud/data/updater-YOURID/.step and ether continue with step X+1, or ask if User wants to repeat step X. In this case - Step 3 Backup.
### Actual behaviour
Getting in loop with backup and Time Out.
## Workaround
When user see Time Out error and check via SSH that Step 3 was finished. User should go back to Settings and start upgrade again. In this case User will see Window with "continue update" button, instead of "retry".
![image](https://user-images.githubusercontent.com/6813635/50970711-7505f580-14e2-11e9-9a96-d8e2e2197ab7.png)
But you have not folder updater-xxxxx
inside of the data folder. Could you please check if you did not rejected your data folder, just check your config.php (run inside of NC folder) to see where your data folder is:
grep datadirectory config/config.php
'datadirectory' => '/var/www/nextcloud/data',