core icon indicating copy to clipboard operation
core copied to clipboard

Access google drive

Open tschuesi opened this issue 12 years ago • 9 comments

After I selected to access an external drive - in my case google driver, the connection was not working, now I even cannot access owncloud any more (usting latest version 6.0.4):

Message after logging in online: Fatal error: Call to a member function instanceOfStorage() on a non-object in /data/web/e10339/html/owncloud/owncloud/lib/private/util.php on line 67

tschuesi avatar Jul 03 '14 17:07 tschuesi

@PVince81 Do you know if something is wrong with the library?

karlitschek avatar Jul 04 '14 15:07 karlitschek

I don't think we changed anything on the library. There was a PR to upgrade it but it didn't go through. I need to find some time to test this again.

PVince81 avatar Jul 04 '14 19:07 PVince81

Hi, I experience the same issue after doing an upgade from 6.0.3 to 6.0.4. I also have Google Drive enabled, as well as Dropbox and Amazon S3. Any ideas what could cause this ? Thanks in advance. Br Tommy

t0mmy79 avatar Jul 06 '14 06:07 t0mmy79

Can someone help to verify? @MorrisJobke

karlitschek avatar Jul 06 '14 18:07 karlitschek

Hi, I get exactly the same error after upgrading from 6.0.3 to 6.0.4. However, the error gets triggered here in a different way: every time I try to sync my Calendar or Addressbook through webdav.

torlasz avatar Jul 06 '14 19:07 torlasz

Hi, I have the same problem: My owncloud is encrypted and after activated GDrive in Owncloud 6.0.3, I cannot access admin section anymore. All other sections are working. So I upgraded to 6.0.4 and now I cannot access owncloud at all, getting the error message above. Please advise!

Thanks and regards

PS: Is there a workaround possible? E.g. deleting GDrive entries directly in the database (which tables?)? Another awareness: It still affects only my admin user, regular users can log in normally!

==> My workaround: table 'oc_appconfig' row with appid=files_external change enabled=no (so far I understand, this will deactivate all external storage connections, but I prefer this to have a running owncloud instance instead of no access to my files, calendar, news and contacts)

heyfisch avatar Jul 07 '14 15:07 heyfisch

Hi, I just upgraded to 7.0RC3 and can the problem no longer exists. Hope this may help, in order to identify where the problem lies.

t0mmy79 avatar Jul 20 '14 10:07 t0mmy79

@heyfisch AFAIK, the external storage uses a file, mount.json, which is located in $datadir/mount.json. The files and folders of mounted external storages are scanned and stored in the table oc_filecache. You could try to rename the mount.json and then enable the files_external app again to see it helps. If it does, the same must be done for the other users on the same instance. Btw, just read the comment above where @t0mmy79 reports the issue is solved by upgrading to OC7 if feasible for you.

fossxplorer avatar Jul 28 '14 07:07 fossxplorer

Closing then since we won't backport such big changes to older versions.

LukasReschke avatar Nov 26 '14 13:11 LukasReschke