I have Nethserver 7.7.1908, in the Software Center, and the Nextcloud server (nethserver-nextcloud) that installs from it is 18.0.3.0
I would need to install the Nextcloud server in version 12.0.3, my question would be where could I get the rpm, or is there any other way to get it via command?
As a nethserver package, Nextcloud 12.0.3 would be nethserver-nextcloud-1.1.8-1 from October 2017 (we are talking about a release from NethServer 7.4 timeline).
At that time (on nethserver) nextcloud was using PHP 7.1, while version 18.0.3.0 used PHP 7.2. Something to have into account regarding dependencies for installing one version or another. As far as I’ve seen, the NS 7.7.1908 repos contains both php versions, so that should help and be no problem. The same repos also contain nextcloud version going from 16 to 18.
Bear in mind that it’s common to update/upgrade to a higher version but not to downgrade to many past releases (theoretically, nextcloud could have introduced database changes that could have made downgrade troublesome).
NethServer wiki still has some relevant info on upgrade/downgrade examples.
May I ask if v18.0.3.0 has data and what’s the purpose of such downgrade?
Is it the case that you did upgrade NethServer from 7.4 to 7.7 and Nextcloud is not working?
Or you kept Nextcloud from NS7.4 without updating it, upgraded to NS7.7 and now you want to do step by step all the chain of updates from Nextcloud 12 to 18?
Hello friend, thank you, I’ll try to install it. To access this rpm, I would have to download it via the correct prompt? Isn’t there any way to do it via yum install?
To answer your question, there’s no way, it’s still a clean installation.
In theory, yes, there were some failures trying that method, and I would give feedback later, but if it works this way I think it will solve it without having to go that route.
In this case, NS7.4 still exists but it still has problems downloading the app. I got NS7.7 but it could be any one, since I suspected it would bring a recent Nextcloud, what I need to do is insert the old Nextcloud server into this NS7 at the moment
you can download all the needed rpms with wget/curl or another way and then run yum install on them, or directly run yum install followed by the rpms URLs. In both cases, fulfilling the required dependencies that are not found in your current NS7 version repos (if you don’t know which ones yet, failed yum install will give needed hints).
Some examples (disregarding security best practices):
Great guy, thanks, sorry for my ignorance, but there is one point that has always confused me, for me the Nextcloud server version is 12.0.3, I have already found version 1.1.8-1 somewhere in the system and I did not inform it because I thought that 12.0.3 was the same package, but I see that you mentioned two packages to install, what would be the difference between each one?
I installed nextcloud-12.0.3-1.el7.noarch.rpm, everything went well
There was a problem with nethserver-nextcloud-1.1.8-1.ns7.noarch.rpm, and I followed the prompt’s instructions:
rpm -Va --nofiles --nodigest: Apparently without effect
–skip-broken to work around the problem: I applied it with install, and it reported problems with the dependencies:
nethserver-nextcloud-1.1.8-1.ns7.noarch from /nethserver-nextcloud-1.1.8-1.ns7.noarch
nethserver-rh-php56-php-fpm-.1.0.0-1.ns7.noarch from nethserver-base
I managed to get around it, you can ignore the post above, I managed to install the two that you instructed, now Nextcloud is showing up inside Nethserver as a recognized application.
Well, almost everything went well… but when trying to open it either through Nethserver or through the URL /nextcloud, the browser informs “Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later”, apparently nothing should be missing
Adding, doing yum update does update Nextcloud, so it didn’t work
One more addition, I rebuilt the VM, rebuilt the Nethserver wizard, then started by downloading and installing rpm 1.1.8-1.ns7, no error occurred this time, it displayed several installed dependencies
Then I installed rpm 12.0.3… it reported that it was already present (probably 1.1.8 installed), but this time the application does not appear in Nethserver, and it also remains unavailable via URL/nextcloud
Last addition, friend, apparently I managed to fix some dependencies, everything is fine, thanks so far
one is nextcloud itself, the other one (nethserver-nextcloud) is the integration/personalization for nethserver. In some later releases there’s only one package as both were unified in nethserver-nextcloud.
download them or install them from their url in the same command as nethserver-nextcloud and nextcloud rpms:
you should check if the webserver and nextcloud related services are running and if some of them cannot start, check the cause (for instance with systemctl status -l … commands or from logs).
Doing yum update will try to update from the currently enabled repositories (for your case, from 7.7.1908 repos and the nextcloud version available in that repo, there’s no control implemented to prevent the problem of skipping major nextcloud version upgrades).