core icon indicating copy to clipboard operation
core copied to clipboard

Files/Folders missing after Upgrading 4.5.7 to 5.x

Open jpaechnatz opened this issue 13 years ago • 38 comments

After an upgrade from my working 4.5.7 installation to 5.x I'm missing folders/files. Only the first, called "az" is accessible and visible. All others are missing, but still existing in the filesystem. "Shared" also disappeared.

The migration wizard showed no error.

The only "errors" after the migration in my log: Error core can't remove app files_archive. It is not installed. 12.03.2013 09:05:18 Error core App "" (files_archive) can't be used because it is not compatible with this version of ownCloud 12.03.2013 09:05:18

Here the output from ls in the filesystem (owncloud installed in /var/www/oc and the user is joh):

/var/www/oc/data/joh/files

ls -al total 48K drwxr-xr-x 12 www-data www-data 4.0K Mar 11 15:02 . drwxr-xr-x 9 www-data www-data 4.0K Nov 12 13:49 .. drwxr-xr-x 5 www-data www-data 4.0K Mar 11 07:57 az drwxr-xr-x 69 www-data www-data 4.0K Mar 4 15:01 bilder drwxr-xr-x 2 www-data www-data 4.0K Mar 4 13:47 bilder-mobil drwxr-xr-x 3 www-data www-data 4.0K Feb 21 07:38 cicero drwxr-xr-x 4 www-data www-data 4.0K Feb 18 16:21 LinuxUser-Magazin drwxr-xr-x 2 www-data www-data 4.0K Dec 19 08:22 music drwxr-xr-x 2 www-data www-data 4.0K Mar 11 15:02 ocTemp drwxr-xr-x 2 www-data www-data 4.0K Jan 24 14:46 pdfs drwxr-xr-x 2 www-data www-data 4.0K Nov 14 10:09 sns-austausch drwxr-xr-x 4 www-data www-data 4.0K Mar 10 11:03 Wissen

Interesting, "bilder" (Pictures) are shown in the Pictures Application.

Verfied Browsers Chrome 26.0.1410.28 AND Firefox 19.0.2 both Linux x86_64

Help!

jpaechnatz avatar Mar 12 '13 08:03 jpaechnatz

Did you make a backup? Can you try to disable the archive app before upgrading?

BernhardPosselt avatar Mar 12 '13 09:03 BernhardPosselt

@icewind1991

BernhardPosselt avatar Mar 12 '13 09:03 BernhardPosselt

Hint: The archives app is not included in oc 5 Don't know if it is related

karlitschek avatar Mar 12 '13 10:03 karlitschek

Well. During the Upgrade, the Wizard shows, that the Archive App is getting disabled.

Restored db, config.php. Installed 4.5.8 files. Everything is working again. Disabled archive app. Should I give it a try again?

jpaechnatz avatar Mar 12 '13 10:03 jpaechnatz

Ok. Failed again. Tried 5.x with disabled archive app in 4.5.8. Now without archive related error in owncloud.log. Appearance is the same as in my first error report. I'm back on 4.5.8 again.

jpaechnatz avatar Mar 12 '13 12:03 jpaechnatz

I have exactly the same error after upgrading to owncloud 5.0.0 from 4.5.7. Only the first folder is visible. All other folders and files are not visible but existing.

Like jpaechnatz I can visit the pictures in the pictures application.

I the same in Opera, Firefox and the Android application.

There are no new errors in my log after the upgrade. I have never used the application "files_archive".

siloportem avatar Mar 14 '13 19:03 siloportem

Will there be a soon fix for an existing OC 5.0.0 installation? Otherwise I have to downgrade to 4.5.8 too.

mokkin avatar Mar 14 '13 22:03 mokkin

Also seeing this problem, upgraded today from 4.5.7 to 4.5.8 (went fine), then to 5.0.0 (this problem). I also had to reset the maintenance flag to false and load the page from chrome, since it failed when calling it from firefox .. don't know if related or not.

jonathanvaughn avatar Mar 15 '13 01:03 jonathanvaughn

Same thing here, I just downgraded to 4.5.8 and everything went smooth. Now just waiting till the issue is fixed

kupiqu avatar Mar 15 '13 13:03 kupiqu

Same issue for me. Upgrade from 4.5.7 to 5.0. nginx / mysql / ubuntu 12.04

jhorning avatar Mar 15 '13 16:03 jhorning

I got the same issue. Upgraded to 4.5.8 first, then to 5.0. All files are missing - but not the directories on the first page. They are just empty. Logging in using Webdav shows same thing. But on the servers filesystem they're still there. Also, logging in to another user account that I've shared files to, shows both their own files and the ones I've shared with them.

I'm able to search for files, and download them. Also My account shows that I'm using 0 space.

And my server is running Ubuntu 12.04, LAMP.

danielholm avatar Mar 15 '13 22:03 danielholm

Same issue here.

Note: locale en_US.utf8 was not installed on my system and this produced errors on log. I added the locale but I still have the issue.

sgripon avatar Mar 15 '13 22:03 sgripon

Same issue here. Updated from 4.5.8 to 5.0. Login in, i can only see the directoies on the first page. But no files and other directories underneath.

devpupil avatar Mar 16 '13 09:03 devpupil

Same here, Updated from 4.5.8 to 5.0. Files are still in filesystem. Is this a cache problem? Anyway it's very annoying. What I did to restore some important files is to duplicate the file you need in a terminal with cp and make the owner www-data. This will re-sync to all clients. But this is not the way it's supposed to be. Also, some files will be visible again for some weird reason. Log's are normal

tomvlk avatar Mar 16 '13 13:03 tomvlk

Executing the SQL query "TRUNCATE oc_filecache;" in the mysql database solves the problem for me.

siloportem avatar Mar 18 '13 18:03 siloportem

@siloportem I've tried the "TRUNCATE oc_filecache;" option too, but it didn't work for me.

mokkin avatar Mar 18 '13 19:03 mokkin

Worked for me! Thanks for the tip @siloportem

danielholm avatar Mar 18 '13 19:03 danielholm

Worked for me also ! Thanx.

sgripon avatar Mar 18 '13 19:03 sgripon

Since nobody wrote when to apply the TRUNCATE, I did it after the Upgrade to 5.0.0. I had to repeat it serveral times until all(? not really shure) folders re-appeared. Shared is still missing and everything I shared before is "un-shared". So, back to 4.5.8. Any official news on this topic?

jpaechnatz avatar Mar 19 '13 07:03 jpaechnatz

It also worked for me, thanks!

Only notes do not appear yet

kupiqu avatar Mar 19 '13 14:03 kupiqu