It is currently Tue Jan 19, 2021 5:01 am
All times are UTC + 8 hours

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.

How to re-connect MySQL to ownCloud after upgrade?

Postby vaettchen » Sun Mar 27, 2016 3:47 pm

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?

Postby vaettchen » Wed Mar 30, 2016 12:01 am

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
vaettchen
 
Posts: 2
Joined: Sun Mar 27, 2016 3:34 pm

Return to [Official] For AS-60X Series

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 3 guests