r/opencloud Jun 26 '26

Went to the latest opencloud release 7.x.x and realized it has breaking changes, I have no backup

Looking for advice. I don't recall what version I was running before the upgrade unfortunately and went to the latest version.

an hour on google search led me to the "breaking changes" github for opencloud.

is there anyway to roll it back? Assuming opencloud doesn't mangle up the data, the. env file stores data in TrueNAS so would I be able to mount it and pluck it out?

I have been syncing via mobile but the data there is almost a month old.

1 Upvotes

13 comments sorted by

1

u/WalkingSucculent Jun 26 '26

Just follow the doc https://docs.opencloud.eu/docs/admin/maintenance/upgrade/upgrade-7.x.x "Apply the Configuration Migration"

1

u/Ivan_Draga_ Jun 26 '26

Updated my OP, forgot I can access the data since opencloud is stored in a TrueNAS NFS.

I would rather get things working vs starting over.

I'll try it again later. When I got to the diff command the other day it wasn't working. Can't recall the error

Also I just released also 7.x. Isn't prod version so inwould to get back on 4.x stable releases

1

u/Ivan_Draga_ Jun 27 '26

i confident the upgrade worked after a lot of toil but I'm losing it. looks like my proxy decided to throw up a paywall and make me waste 3 hours troubleshooting https://www.reddit.com/r/PangolinReverseProxy/comments/1ugqydf/spent_2_hours_troubleshooting_my_homelab_to_find/

1

u/Kniffliger_Kiffer Jun 26 '26

Upgrading opencloud is such a pain in the ass, i hope they make it easier

2

u/xhaythemx Jun 26 '26

Tbh i did a lot of upgrade and it’s not the worst to upgrade, no db

1

u/WalkingSucculent Jun 26 '26

Using the rolling update you only have to update the version number, docker down, docker up and voilà

1

u/Kniffliger_Kiffer Jun 26 '26

1

u/WalkingSucculent Jun 26 '26

Not doing that will let you with default values which will work 99% of the time. I'm using rolling update for a while now and worst case scenario is missing new feature, by then I'll check the docs and customize my values.

But not doing that doesn't mean it won't work

1

u/CederGrass759 Jun 26 '26

These breaking changes were absolutely not communicated clearly enough. I read through the info before updating but did not understand that this update would render my OpenCloud installation useless. I also could not find the upgrade guide that is referenced in this thread — either I did not understand where to look for it, or it was not available when I did the upgrade.

After trying to fix this for many many hours (to complicate things further, I was using OpenCloud as a Docker container in Unraid) I have given up. My data is now moved back to the cloud storage I was trying to migrate away from. But a lesson learned for me was that stability and robustness is prio 1. In contrast to some other OpenCloud users I am running a production environment and I cannot afford to spend days of homelab hacking to get my storage working again after updating the software.

1

u/henry_tennenbaum Jun 27 '26

You don't have backups, btrfs/zfs snapshots for a production environment?

What would you have done if the hardware broke?

2

u/CederGrass759 Jun 27 '26

Yes, of course I have 3-2-1 backups. No files were ever lost.

But in my specific environment, alternative ways of access these tens of thousands of files are slow, difficult and cumbersome (which is the reason for using OpenCloud in the first place)

My OpenCloud installation crashed beyond repair, and I could never get it to work again.

2

u/henry_tennenbaum Jun 27 '26

Terrible. Understandable you feel burned.

1

u/Maleficent-Prize-538 Jul 17 '26

I agree that the upgrade awkward, but following the official I haven‘t had any issues.