Only one version of nextcloud-server available from apt repo #69
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This issue isn't about this git repo, but rather the apt repo that hosts the output of this git repo.
Problem
I found my production server was down today when it tried to upgrade from what I believe was Nextcloud v32 to v34. The installer refused to proceed due to this [inadvertent] attempt to skip a major version.
This version jump also matches what I see on https://apt.jurisic.org/ which says that the latest version for trixie is v32, however we can see that it's actually v34 in the Packages file.
Workaround
For the time being, switching from the trixie to the bookworm one will allow you to downgrade to v33. After that, you can go back to the trixie repo and upgrade to v34 again.
Solution
Make multiple versions of the package available in the apt repo.
If using reprepro to maintain the apt repo, this can be accomplished by adding
Limit: 0to yourconf/distributionsfile.Another reason someone might want to downgrade is because an app is not compatible, which is the case with Nextcloud Office (aka
richdocuments). The latest version of that app as of time of writing is 9.1.0, which has not been tested with either Nextcloud v33 nor v34.Fix upgrade from Nextcloud 32 to 34
I rebuild packages for fix upgrade from Nextcloud 32 to 34, links for download:
nextcloud-server_32.0.12-1~deb13_all.deb
nextcloud-server_33.0.7-1~deb13_all.deb
Please make backup of database and data, then download packages and run:
sudo dpkg -i nextcloud-server_32.0.12-1~deb13_all.debNow check all is ok, then install nc 33:
sudo dpkg -i nextcloud-server_33.0.7-1~deb13_all.debAfter upgrade to nc 33, upgrade to nc 34
Need mode disk space for repository
I will migrate repository on server with more disk space and save all versions of packages. But first need buy server where can deploy repository and archive of debian packages.