How to re-connect MySQL to ownCloud after upgrade?

This is where you can find the latest ADM official release. Feel free to discuss any questions regarding it here.

Moderator: Lillian.W@AST

Post Reply
vaettchen
Posts: 2
youtube meble na wymiar Warszawa
Joined: Sun Mar 27, 2016 3:34 pm

How to re-connect MySQL to ownCloud after upgrade?

Post by vaettchen »

I have my AS 604T upgraded to ADM to 2.5.4 RF42 and, after that, ownCloud to 8.2.2. So far so good but ownCloud kind of lost its data:

Previously, I had migrated from SQLite to MySQL since I have for me and my family around 100GB data. That worked nicely using the facilities provided by ownCloud.

After the upgrade, ownCloud greets me with an empty SQLite database. The The MySQL database is there and seems unharmed, but I don't know ho to re-connect it to the upgraded ownCloud. I checked the ownCloud documentation but I can only find ways to migrate, not to reconnect.

Would be great if somebody could help me to get this done...
vaettchen
Posts: 2
Joined: Sun Mar 27, 2016 3:34 pm

Re: How to re-connect MySQL to ownCloud after upgrade?

Post by vaettchen »

Here is hat I did - maybe not the correct way but it worked for me:

- "Migrated" the empty sqlite DB to a brand new MySQL DB
- In the re-written owncloud/config/config.php, changed the dbname from the empty new DB to the one I was using before
- ran ./occ upgrade
Post Reply

Return to “[Official] For AS-60X Series”