Page 1 of 1

How to re-connect MySQL to ownCloud after upgrade?

Posted: Sun Mar 27, 2016 3:47 pm
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...

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

Posted: Wed Mar 30, 2016 12:01 am
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