Skip to content
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

Updater »Unable to move«: ownCloud 8.1.4. -> 8.1.11 #415

Closed
zooomak opened this issue Mar 8, 2017 · 7 comments
Closed

Updater »Unable to move«: ownCloud 8.1.4. -> 8.1.11 #415

zooomak opened this issue Mar 8, 2017 · 7 comments

Comments

@zooomak
Copy link

zooomak commented Mar 8, 2017

Hi,
yes, I'm very late ;-) I have trouble updating my ownCloud.
Error and log attached.

Could you help here please?
Thanks a million!

Error message of updater (UI):
Update fehlgeschlagen.Unable to move /www/htdocs/PAGE/cloud.PAGE.de/_oc-upgrade/8.1.11/core/core to /www/htdocs/PAGE/cloud.PAGE.de/core

Log:

- opendir(/tmp): failed to open dir: Permission denied at /www/htdocs/PAGE/cloud.PAGE.de/lib/private/tempmanager.php#179	
- Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0	
- rename(/www/htdocs/PAGE/cloud.PAGE.de/_oc-upgrade/8.1.11/core/core,/www/htdocs/PAGE/cloud.PAGE.de/core): Directory not empty at /www/htdocs/PAGE/cloud.PAGE.de/apps/updater/lib/helper.php#45
- in_array() expects parameter 2 to be array, null given at /www/htdocs/PAGE/cloud.PAGE.de/apps/updater/lib/location/core.php#35	
- Undefined index: 8.1 at /www/htdocs/PAGE/cloud.PAGE.de/apps/updater/lib/location/core.php#26	
- Success: 3rdparty	
- Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0

Beste, Tobi

@VicDeo
Copy link
Member

VicDeo commented Mar 9, 2017

@zooomak

  1. Please start with replacing your apps/updater with the most recent version for stable8.1
    https://github.com/owncloud/updater/archive/v8.1.12.zip

  2. According to

- opendir(/tmp): failed to open dir: Permission denied at /www/htdocs/PAGE/cloud.PAGE.de/lib/private/tempmanager.php#179

your ownCloud can't work with temporary files due to environment misconfiguration.
According to PHP settings /tmpis claimed to be a temp dir but this dir is not writable for user that is used to run PHP scripts

@zooomak
Copy link
Author

zooomak commented Mar 9, 2017

Perfect, thanks for your quick help. Much appreciated!

@zooomak
Copy link
Author

zooomak commented Mar 9, 2017

Now I was maybe getting too hungry.
Trying to upgrade to version 9 with Updater app. Result Error 500, white page.

Log file says:
{"reqId":"WMFzkFUNmYwAABsFYWsXXXN","remoteAddr":"178.19.000.174","app":"PHP","message":"Class 'OCA\\Updater\\App' not found at \/www\/htdocs\/domain\/cloud.domain.de\/apps\/updater-8.1.\/appinfo\/app.php#16","level":3,"time":"2017-03-09T15:24:00+00:00","method":"GET","url":"\/cloud.domain.de\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"Username"}

Now I'm confused ;-)
Do you maybe have another idea here?

@VicDeo
Copy link
Member

VicDeo commented Mar 9, 2017

@zooomak you need to rename updater-8.1. to updater

@VicDeo
Copy link
Member

VicDeo commented Mar 21, 2017

@zooomak is it working now?

@zooomak
Copy link
Author

zooomak commented Mar 23, 2017 via email

@VicDeo
Copy link
Member

VicDeo commented May 3, 2018

I'm closing this issue as soon as everything except unresponsive button was addressed.
Unresponsive 'Update' button is tracked here #453

@VicDeo VicDeo closed this as completed May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants