maddin
(M. Dro_ste)
August 29, 2020, 6:54pm
1
NethServer Version: 7.8.2003
Module: Nextcloud
Hi All,
and yes! it was me! And I’m even not able to explain my problem exactly!
Ok I updated to 7.7.1908 and than to 7.8.2003 because of a problem with ufdbguard.
Everything fine but no I’m not able to connect to nextcloud. - No, not right I can see:
But sure that is not the “right” cloud, because I called my “drostecloud”
My nextcloud before Udate was the 16.0.4.1 and I tried the solutions from Problem nextcloud after update 7.7.1908 but must understood something wrong…
Where can I start to search the reason for my problem?
Thx for help
Before I remembered my problem there war a big WOW for Cockpit…
martin
GG_jr
(Gabriel GHEORGHIU)
August 29, 2020, 7:03pm
2
Hi @maddin ,
Try to add in Cockpit -> Applications -> Nextcloud -> Configuration -> Trusted domains (one per line): yourdomain.de
Gabriel
maddin
(M. Dro_ste)
August 29, 2020, 7:08pm
3
thx for help
in the meantime I did: but as I wrote it’s think it’s not the “right” nextcloud?
GG_jr
(Gabriel GHEORGHIU)
August 29, 2020, 7:34pm
4
Did you try to update Nextcloud via built-in upgrader?
It seems to be in “Maintenance mode” due an update process.
maddin
(M. Dro_ste)
August 29, 2020, 7:45pm
5
hi @GG_jr
no, I just update nethserver to 7.8 2003 because of a ufdbguard-problem!
I think i have to downgrade to nextcloud 17 and than step by step update to 19 but I’m absolut noob with no idea how to get the right packages…
martin
mrmarkuz
(Markus Neuberger)
August 29, 2020, 7:57pm
6
Please check also the wiki for troubleshooting nextcloud.
1 Like
GG_jr
(Gabriel GHEORGHIU)
August 29, 2020, 8:00pm
7
or you can try (from wiki):
1.
yum downgrade nethserver-nextcloud-1.8.4-1.ns7 nextcloud-17.0.2-1.el7
yum update nethserver-nextcloud nextcloud
or
2.
yum -y remove nextcloud
yum install nethserver-nextcloud
maddin
(M. Dro_ste)
August 29, 2020, 8:02pm
8
@mrmarkuz I did - but in my yum history and of course for real I can’t find the packages for the following main version 17…
and now I try to understand how to do:
Didn’t work.
I think it is because older nextcloud packages were obsoleted by nethserver-nextcloud-1.9.0-1.ns7.
I had to remove nethserver-nextcloud and nextcloud packages, then
yum --setopt=obsoletes=0 install nextcloud-17.0.2-1.el7
yum --setopt=obsoletes=0 install nethserver-nextcloud-1.8.4-1.ns7
then update.
Phew. @davidep I really believe that the case should be handled. At minima warning the user that something is going to go wrong.
martin
1 Like
maddin
(M. Dro_ste)
August 29, 2020, 8:04pm
9
I do not know how to remove the packages and add the needed…without making my problem more problematic
I hope I can get my passwords out of nextcloud back…
[root@central ~]# rpm -q nethserver-nextcloud nextcloud
nethserver-nextcloud-1.12.4-1.ns7.noarch
Das Paket nextcloud ist nicht installiert
and next to me there are 2 books that I actually wanted to start - what an irony
Don Quijote von der Mancha Teil I und II: Roman (dtv Klassik)
von:[Cervantes Saavedra, Miguel de]
1 Like
mrmarkuz
(Markus Neuberger)
August 29, 2020, 8:21pm
10
Please install nethserver-nextcloud:
yum install nethserver-nextcloud
Did you try to disable maintenance mode:
sudo -u apache scl enable rh-php73 -- php -dmemory_limit=512M /usr/share/nextcloud/occ maintenance:mode --off
maddin
(M. Dro_ste)
August 29, 2020, 8:23pm
11
yum install nethserver-nextcloud
Geladene Plugins: auto-update-debuginfo, changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
the nextcloud Site after disabling the maintenance:mode changed to:
I got my Drostecloud back - but not more
mrmarkuz
(Markus Neuberger)
August 29, 2020, 8:25pm
12
Please execute:
signal-event nethserver-nextcloud-update
or
sudo -u apache scl enable rh-php73 -- php -dmemory_limit=512M /usr/share/nextcloud/occ upgrade
maddin
(M. Dro_ste)
August 29, 2020, 8:30pm
13
[root@central ~]# sudo -u apache scl enable rh-php73 – php -dmemory_limit=512M /usr/share/nextcloud/occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Turned on maintenance mode
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Reset log level
and as far as I understood I have to downgrade to version 17(one after my previous version) but I can’t because I do not have the rigth packages for this
maddin
(M. Dro_ste)
August 29, 2020, 8:34pm
14
root@central ~]# yum history packages *nextcloud
Geladene Plugins: auto-update-debuginfo, changelog, fastestmirror, nethserver_events
ID | Aktion(en) | Package
105 | Aktualisiert | nethserver-nextcloud-1.9.2-1.ns7.noarch EE
105 | Aktualisieren | 1.12.4-1.ns7.noarch EE
104 | Aktualisiert | nethserver-nextcloud-1.6.2-1.ns7.noarch EE
104 | Veraltet | nethserver-nextcloud-1.9.2-1.ns7.noarch EE
104 | Veraltet | nextcloud-16.0.4-1.el7.noarch EE
82 | Aktualisiert | nethserver-nextcloud-1.6.1-1.ns7.noarch
82 | Aktualisieren | 1.6.2-1.ns7.noarch
82 | Aktualisiert | nextcloud-16.0.3-1.ns7.noarch
82 | Aktualisieren | 16.0.4-1.el7.noarch
76 | Aktualisiert | nethserver-nextcloud-1.6.0-1.ns7.noarch
76 | Aktualisieren | 1.6.1-1.ns7.noarch
76 | Aktualisiert | nextcloud-16.0.2-1.el7.noarch
76 | Aktualisieren | 16.0.3-1.ns7.noarch
72 | Aktualisiert | nethserver-nextcloud-1.5.1-1.ns7.noarch
72 | Aktualisieren | 1.6.0-1.ns7.noarch
72 | Aktualisiert | nextcloud-16.0.1-1.el7.noarch
72 | Aktualisieren | 16.0.2-1.el7.noarch
70 | Aktualisiert | nethserver-nextcloud-1.5.0-1.ns7.noarch EE
70 | Aktualisieren | 1.5.1-1.ns7.noarch EE
70 | Aktualisiert | nextcloud-16.0.0-1.el7.noarch EE
70 | Aktualisieren | 16.0.1-1.el7.noarch EE
68 | Aktualisiert | nethserver-nextcloud-1.4.4-1.ns7.noarch
68 | Aktualisieren | 1.5.0-1.ns7.noarch
68 | Aktualisiert | nextcloud-15.0.7-1.el7.noarch
68 | Aktualisieren | 16.0.0-1.el7.noarch
67 | Aktualisiert | nethserver-nextcloud-1.4.3-1.ns7.noarch
67 | Aktualisieren | 1.4.4-1.ns7.noarch
67 | Aktualisiert | nextcloud-15.0.5-1.el7.noarch
67 | Aktualisieren | 15.0.7-1.el7.noarch
60 | Aktualisiert | nethserver-nextcloud-1.4.2-1.ns7.noarch EE
60 | Aktualisieren | 1.4.3-1.ns7.noarch EE
60 | Aktualisiert | nextcloud-15.0.4-1.el7.noarch EE
60 | Aktualisieren | 15.0.5-1.el7.noarch EE
58 | Aktualisiert | nethserver-nextcloud-1.4.1-1.ns7.noarch EE
58 | Aktualisieren | 1.4.2-1.ns7.noarch EE
58 | Aktualisiert | nextcloud-15.0.2-1.el7.noarch EE
58 | Aktualisieren | 15.0.4-1.el7.noarch EE
54 | Aktualisiert | nethserver-nextcloud-1.4.0-1.ns7.noarch
54 | Aktualisieren | 1.4.1-1.ns7.noarch
54 | Aktualisiert | nextcloud-15.0.0-1.el7.noarch
54 | Aktualisieren | 15.0.2-1.el7.noarch
53 | Aktualisiert | nethserver-nextcloud-1.3.0-1.ns7.noarch EE
53 | Aktualisieren | 1.4.0-1.ns7.noarch EE
53 | Aktualisiert | nextcloud-14.0.4-1.el7.noarch EE
53 | Aktualisieren | 15.0.0-1.el7.noarch EE
52 | Aktualisiert | nethserver-nextcloud-1.2.7-1.ns7.noarch EE
52 | Aktualisieren | 1.3.0-1.ns7.noarch EE
52 | Aktualisiert | nextcloud-14.0.3-1.el7.noarch EE
52 | Aktualisieren | 14.0.4-1.el7.noarch EE
47 | Aktualisiert | nethserver-nextcloud-1.2.6-1.ns7.noarch EE
47 | Aktualisieren | 1.2.7-1.ns7.noarch EE
47 | Aktualisiert | nextcloud-14.0.1-1.el7.noarch EE
47 | Aktualisieren | 14.0.3-1.el7.noarch EE
45 | Aktualisiert | nethserver-nextcloud-1.2.4-1.ns7.noarch
45 | Aktualisieren | 1.2.6-1.ns7.noarch
45 | Aktualisiert | nextcloud-13.0.6-1.el7.noarch
45 | Aktualisieren | 14.0.1-1.el7.noarch
42 | Aktualisiert | nethserver-nextcloud-1.2.3-1.ns7.noarch
42 | Aktualisieren | 1.2.4-1.ns7.noarch
42 | Aktualisiert | nextcloud-13.0.5-1.el7.noarch
42 | Aktualisieren | 13.0.6-1.el7.noarch
39 | Aktualisiert | nethserver-nextcloud-1.2.2-1.ns7.noarch
39 | Aktualisieren | 1.2.3-1.ns7.noarch
39 | Aktualisiert | nextcloud-13.0.4-1.ns7.noarch
39 | Aktualisieren | 13.0.5-1.el7.noarch
34 | Aktualisiert | nethserver-nextcloud-1.2.1-1.ns7.noarch EE
34 | Aktualisieren | 1.2.2-1.ns7.noarch EE
34 | Aktualisiert | nextcloud-13.0.2-1.el7.noarch EE
34 | Aktualisieren | 13.0.4-1.ns7.noarch EE
15 | Aktualisiert | nethserver-nextcloud-1.2.0-1.ns7.noarch
15 | Aktualisieren | 1.2.1-1.ns7.noarch
15 | Aktualisiert | nextcloud-13.0.1-1.el7.noarch
15 | Aktualisieren | 13.0.2-1.el7.noarch
13 | Installieren | nethserver-nextcloud-1.2.0-1.ns7.noarch
13 | Abhängigkeiteninstallation | nextcloud-13.0.1-1.el7.noarch
[root@central ~]# yum --showduplicates list *nextcloud
Geladene Plugins: auto-update-debuginfo, changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
ce-base: mirror.sov.uk.goscomb.net
ce-extras: mirror.sov.uk.goscomb.net
ce-sclo-rh: mirror.sov.uk.goscomb.net
ce-sclo-sclo: mirror.sov.uk.goscomb.net
ce-updates: mirror.sov.uk.goscomb.net
epel: mirror.speedpartner.de
epel-debuginfo: mirror.speedpartner.de
nethforge: mirror.alpix.eu
nethserver-base: mirror.alpix.eu
nethserver-updates: mirror.alpix.eu
Installierte Pakete
nethserver-nextcloud.noarch 1.12.4-1.ns7 @nethserver-updates
Verfügbare Pakete
nethserver-nextcloud.noarch 1.10.0-1.ns7 nethserver-base
nethserver-nextcloud.noarch 1.10.1-1.ns7 nethserver-updates
nethserver-nextcloud.noarch 1.11.0-1.ns7 nethserver-updates
nethserver-nextcloud.noarch 1.12.0-1.ns7 nethserver-updates
nethserver-nextcloud.noarch 1.12.1-1.ns7 nethserver-updates
nethserver-nextcloud.noarch 1.12.2-1.ns7 nethserver-updates
nethserver-nextcloud.noarch 1.12.3-1.ns7 nethserver-updates
nethserver-nextcloud.noarch 1.12.4-1.ns7 nethserver-updates
nextcloud.noarch 10.0.4-2.el7 epel
nextcloud.noarch 18.0.0-1.el7 nethserver-base
and I wrote before: martin is a noob
dnutan
(Marc)
August 29, 2020, 9:01pm
15
nextcloud package was obsoleted when merged into nethserver-nextcloud since Nextcloud 18.0.1 release, that’s why it does no longer shows up.
Edit:
Some of the older packages are still available but have to be manually downloaded from older repos (as nethserver upgrade changed repositories version). With time this fact could lead to dependencies problem when doing manual upgrades to go through each major version of Nextcloud. (Another option could be to temporarily enable older repos to avoid manual package download).
Here’s an experimental upgrade procedure (tested on a virtual machine):
# Get currently installed version
sudo -u apache scl enable rh-php73 -- php -dmemory_limit=512M /usr/share/nextcloud/occ --version
# Get migration status
sudo -u apache scl enable rh-php73 -- php -dmemory_limit=512M /usr/share/nextcloud/occ migrations:status core
# Migrate to latest version
sudo -u apache scl enable rh-php73 -- php -dmemory_limit=512M /usr/share/nextcloud/occ migrations:migrate core
# edit nextcloud config.php file setting `version` to match installed version (19.0.1):
nano /usr/share/nextcloud/config/config.php # set current installed version
# Upgrade Nextcloud, fix possible database issues and disable maintenance mode:
sudo -u apache scl enable rh-php73 -- php -dmemory_limit=512M /usr/share/nextcloud/occ upgrade
sudo -u apache scl enable rh-php73 -- php -dmemory_limit=512M /usr/share/nextcloud/occ db:add-missing-columns
sudo -u apache scl enable rh-php73 -- php -dmemory_limit=512M /usr/share/nextcloud/occ maintenance:mode --off
4 Likes
maddin
(M. Dro_ste)
August 30, 2020, 5:21am
16
@dnutan thank you very much!
I have my drostecloud back!
@dnutan (Sancho Pansa) saddle my horse…
ty
martin
1 Like