[Owncloud] Problem with changing data directory

Masaki Kawabata Neto masaki.kawabata at gmail.com
Sat Aug 31 21:52:23 UTC 2013


Hi,
checking my database (mysql), the oc_storages table is populated with the
path of the data dir.
I have cleaned my table and it is automatically recreated, possibly for the
new data path.
May you try this?
Masaki


2013/8/31 Torsten Seyffarth <t.seyffarth at gmx.de>

> Hello all,
>
> I am using OC for a while (currently 5.0.9) and it is running good.
>
> Now I wanted to change the data directory. So I copied everything with
> preventing permissions, owners, ect. in the new folder and changed the
> entry in config.php.
> If I now login over the web interface I can see the files that are
> directly owned by me. But the shared files are problematic. I can still see
> the shared folders directly under "Shared" (let's assume this is
> "testfolder") , but when I click on "testfolder" the home folder is shown
> again. When I login as the user that shares "testfolder" with me, it shows
> that he do not share the folder. If he shares it again, then I still have
> "testfolder" under "Shared" that is not working and in addition I have
> something like this "testfolder (3)" that is working.
>
> I changed config.php back to the old data directory, but I still have the
> problem. I also loaded an backup of the database from before and this also
> didn't help?!? The only solution that I found was to delete all entries in
> the "oc_share" table and toconfigure all shares again. Apparently
> "item_source", "item_target" and "file_source" are different after that.
>
> Did I forgot something when changing the data directory? Or can someone
> verify that this is a bug?
>
> Best
> Torsten
> ______________________________**_________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/**listinfo/owncloud<https://mail.kde.org/mailman/listinfo/owncloud>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130831/37cf8172/attachment.html>


More information about the Owncloud mailing list