Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Ask all your questions regarding OC 8.2 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
bernd67
Beginner
Posts: 18
Joined: Thu Jul 14, 2016 9:52 pm

Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby bernd67 » Thu Jul 14, 2016 10:02 pm

Running:
Version
ownCloud 8.2.1 (stable)

8.2.6 available

after i tried to install on my synology diskstation pressing upgrade button:

Error PHP 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

2016-07-14T13:25:45+00:00
Error updater Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

2016-07-14T13:25:44+00:00
Error updater Something went wrong for core. Rolling back.

How to deal with the Problem?
Thx for Infos.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby RealRancor » Thu Jul 14, 2016 10:07 pm

Updater is failing with "Unable to move /var/www/owncloud/_oc-upgrade/8.2.1.4/core/resources to /var/www/owncloud/resources
Workaround: https://github.com/owncloud/updater/pull/192/files
-> Was fixed with oC 8.2.2. If you have a oC version prior to 8.2.2 you need to manually apply the fix of the workaround above.


from viewtopic.php?f=36&t=31252
*gone*

bernd67
Beginner
Posts: 18
Joined: Thu Jul 14, 2016 9:52 pm

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby bernd67 » Fri Jul 15, 2016 7:40 pm

Do i understand correctly that i have manual to edit a specific file?

lib/location/core.php ?

where to find it? exactly path? i have ssh connection to the synology Diskstation.

i do not find /lib Folder..


what exactly to change then in core.php?
(no change to see the old one to compare, not found)?

@@ -23,7 +23,7 @@ class Core extends Location {
protected function getWhitelist(){
$strList = file_get_contents(dirname(__DIR__) . '/files.json');
$fullList = json_decode($strList, true);
- $list = $fullList['8.1'];
+ $list = $fullList['8.2'];
return $list;
}

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby RealRancor » Fri Jul 15, 2016 7:42 pm

This file can be found in:

/path/to/owncloud/apps/updater/lib/location/core.php

If unsure you also can do a manual update from 8.2.1 to 8.2.6. Personally i'm always speaking against the updater app as this is has quite a lot of known issues like the one you're currently facing.
*gone*

bernd67
Beginner
Posts: 18
Joined: Thu Jul 14, 2016 9:52 pm

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby bernd67 » Fri Jul 15, 2016 8:17 pm

admin@DiskStation:/var/packages/owncloud$ cd apps
-sh: cd: apps: No such file or directory

can't find the correct path... hmm
thx for help.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby RealRancor » Fri Jul 15, 2016 8:22 pm

There are linux tools like find or locate helping you to find the mentioned file. But from your posted message it might be in /volume1/web/owncloud/resources
*gone*

bernd67
Beginner
Posts: 18
Joined: Thu Jul 14, 2016 9:52 pm

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby bernd67 » Fri Jul 15, 2016 11:13 pm

admin@DiskStation:/volume1$ cd owncloud
admin@DiskStation:/volume1/owncloud$ ls
admin @eaDir index.html owncloud.log updater_backup
admin@DiskStation:/volume1/owncloud$ cd updater_backup
admin@DiskStation:/volume1/owncloud/updater_backup$ ls
8.1.1.3-a9eda4db.zip 8.2.1.4-3ecf2706 8.2.1.4.zip
8.2.1.4-1f398c36 8.2.1.4-5d11f59b 8.2.6.zip


admin@DiskStation:/volume1/web/owncloud/resources$ cd config
admin@DiskStation:/volume1/web/owncloud/resources/config$ ls
ca-bundle.crt mimetypealiases.dist.json mimetypemapping.dist.json
admin@DiskStation:/volume1/web/owncloud/resources/config$ ls -l
total 268
-rw-r--r-- 1 http http 256338 Dec 11 2015 ca-bundle.crt
-rw-r--r-- 1 http http 4294 Dec 11 2015 mimetypealiases.dist.json
-rw-r--r-- 1 http http 6437 Dec 11 2015 mimetypemapping.dist.json
admin@DiskStation:/volume1/web/owncloud/resources/config$ cd ..
admin@DiskStation:/volume1/web/owncloud/resources$ ls -l
total 4
drwxr-xr-x 2 http http 4096 Dec 11 2015 config
admin@DiskStation:/volume1/web/owncloud/resources$

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby RealRancor » Sat Jul 16, 2016 12:33 am

RealRancor wrote:There are linux tools like find or locate helping you to find the mentioned file.
*gone*

bernd67
Beginner
Posts: 18
Joined: Thu Jul 14, 2016 9:52 pm

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby bernd67 » Sat Jul 16, 2016 9:25 pm

tried to find:

admin@DiskStation:~$ find -name core.php
admin@DiskStation:~$

find -name hausarbeit.odt
Sucht die Datei hausarbeit.odt im aktuellen Verzeichnis und allen Unterverzeichnissen. Sind mehrere Dateien dieses Namens vorhanden, werden alle Fundstellen aufgelistet.

find in all directories and subdirectories...

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Unable to move /volume1/web/owncloud/_oc-upgrade/8.2.6/core/resources to /volume1/web/owncloud/resources

Postby RealRancor » Sun Jul 17, 2016 1:11 am

Hi,

i think its time that you're getting familiar with some linux basics first. If you're using find in the homedir of your user you will find the cron.php only if your oC is installed there which is very likely not this case here.
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 1 guest