-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update fails when there is not enough disk space #175
Comments
Not only fails the update, it removed my config and I had to recover it from a server backup.
|
Which partition went full? The partition where there is the data directory or the one where the Nextcloud code is saved? |
I did not keep data directory separately, so I was left with some about 250+ megabytes, and I just have clue that it was maybe because of low space, but I cannot be sure, as I could not repeat the process. So that is a clue, not definite cause on why it failed. |
@MorrisJobke Can't really tell. It is shared server, so it was not actually any partition running full, but some kind of limit in usage. |
Let's cover disk space availability checking work in #523. Closing to centralize tracking there. |
As given and explained here:
https://help.nextcloud.com/t/failure-to-upgrade-to-13-0-4/33284/4
Failure to upgrade to 13.0.4
support
nc13
update_problems
rcdrun 2018-06-23 13:31:38
UTC #1
Nextcloud version: 13.0.4
Operating system and version: Debian Jessy
Apache or nginx version nginx 1.10.3
PHP version: PHP 7.0.27-0+deb9u1
The issue you are facing:
after upgrade nextcloud does not work, following error is here:
PHP Warning:
require(/var/www/websites/website/3rdparty/composer/…/guzzlehttp/promises/src/functions_include.php):
failed to open stream: No such file or directory in
/var/www/websites/website/3rdparty/composer/autoload_real.php on line
61
PHP Fatal error: require(): Failed opening required
‘/var/www/websites/website/3rdparty/composer/…/guzzlehttp/promises/src/functions_include.php’
(include_path=’/var/www/websites/website/3rdparty/pear/console_getopt:/var/www/websites/website/3rdparty/pear/pear_exception:/var/www/websites/website/3rdparty/pear/pear-core-minimal/src:/var/www/websites/website/3rdparty/pear/archive_tar:/var/www/websites/website/apps’)
in /var/www/websites/website/3rdparty/composer/autoload_real.php on
line 61
Is this the first time you’ve seen this error? Yes
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
Please how can I either downgrade?
Or to disable some applications if applications are causing it?
tflidd 2018-06-24 11:16:47
UTC #2
How did you upgrade? At which step of the update did this happen?
Previous version, do you mean NC 12? Or 13.0.2?
rcdrun 2018-06-24 11:29:57
UTC #3
I have solved my problem by manually downloading and going through
upgrade process.
Then I found out that only 258 megabytes were left on hard disk.
My guess is that the upgrade could not be finished due to low disk
space. Maybe, I don’t know, but maybe the upgrade process is copying all
files, or making a copy and if there is not enough free space, there can
be a problem.
However, even such situation shall be prevented by making a check in the
upgrade process, so that it does not happen. If that was the case.
tflidd 2018-06-24 13:28:53
UTC #4
Indeed, can you open a feature request on the updater-app-repo:
https://github.com/nextcloud/updater/issues
The text was updated successfully, but these errors were encountered: