this post was submitted on 05 Jul 2024
9 points (100.0% liked)

Nextcloud

442 readers
1 users here now

Community dedicated to Nextcloud

founded 1 year ago
MODERATORS
 

I have a Nextcloud v24.xx install on shared hosting, good host that would probably help, but I want to learn. I hve looked through the Nextcloud site and my OS/browsers are deemed too old. I can run MX KDE off a stick but not for long because it runs the fans hard on my old MBP (2009).

I've had an issue with the internal GUI updater getting stuck on Step 3 for a long time. There was a file to remove so I could try again, which I did back then in the v25 days, but it kept stopping at Step 3, and I've been ill, so I let it go.

Now I look and NC is on v28? And I now have a little time. I have SSH access and the cPanel terminal available, and when Softalicious did the install I chose the db name and can find that info and have PHP MyAdmin access.

But I am not certain about some things, one being that I see advice out there to update one version at a time, which seems like it'll be a long slog if it can be done at all, since I'm on 24.xx now.

Softalicious, BTW, also could not do the update back then and then at a certain point told me it was too many versions behind instead of just failing with no explication.

I'd either like to update in one swoop, or save my data/db and do a new install and import my data from a backup and point it to the db. I'm assuming there were database changes along the way and a 24.x db might not import.

Suggestions welcomed, anything I learn I'll post if helpful.

top 3 comments
sorted by: hot top controversial new old
[–] ptz@dubvee.org 4 points 4 months ago* (last edited 4 months ago) (1 children)

On my install, I do the updates through the console via occ. I think it has to update incrementally and step through each release version, or at least that's how it's always updated for me.

I was pretty far behind at one point, and it took a bit to step through the intermediate versions, but not too long. I think less than an hour to go 2 or 3 major versions and the point releases in between.

It also allowed me to check which apps broke with each update.

[–] aaaaace@lemmy.blahaj.zone 2 points 4 months ago
[–] NeoNachtwaechter@lemmy.world 1 points 4 months ago

I'd either like to update in one swoop

Not a good idea. There may be db update scripts running during each update. You don't want to miss them.

The way is: the latest 24. Then 25. Then 26 etc.

As the other comment says, if you do it with occ, the whole thing is done in an hour.