× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: No more web GUI after upgrade to 6.2.0

dsnpevl
Virtuoso

No more web GUI after upgrade to 6.2.0

I have upgraded several times before without problems. But just now I upgraded from 6.1.9 to 6.2.0, but I can no longer go to the web admin page.

I can still access the file system on the NAS via Windows shares. The web interface of the Plex media server also works. So the connection is up and running. Just seems that port 80 is not responding.

When I log into the server via SSH, the welcome prompt does say:

Welcome to ReadyNASOS 6.2.0


  1. How long would a upgrade from 6.1.9 to 6.2.0 roughly take on RN516 (maybe I'm too impatient)?

  2. Any idea what can be wrong and how it can be solved?

  3. Can I risk rebooting?

  4. Any upgrade log I can watch to determine the status of the upgrade?
Message 1 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0

Do you have many snapshots?

What is the output of

# systemctl status readynasd
# systemctl status apache2
# journalctl -a | grep apache2 | tail -n 20
# journalctl -a | grep readynasd | tail -n 20
# df -h
# btrfs fi show
# btrfs fi df /data
Message 2 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

mdgm wrote:
Do you have many snapshots?

What is the output of

# systemctl status readynasd
# systemctl status apache2
# journalctl -a | grep apache2 | tail -n 20
# journalctl -a | grep readynasd | tail -n 20
# df -h
# btrfs fi show
# btrfs fi df /data


I don't know how to determine the amount of snapshots and have no clue what would be a lot.

systemctl status readynasd

readynasd.service - ReadyNAS System Daemon
Loaded: loaded (/lib/systemd/system/readynasd.service; enabled)
Active: active (running) since Mon, 24 Nov 2014 20:52:45 +0100; 1h 19min ago
Main PID: 3847 (readynasd)
Status: "Start Main process"
CGroup: name=systemd:/system/readynasd.service
└ 3847 /usr/sbin/readynasd -v 3 -t

Nov 24 21:44:07 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/ethernet_28c...t
Nov 24 21:44:07 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/): State=idle
Nov 24 21:44:07 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/ethernet_28c...e
Nov 24 21:44:07 nas-D5-FE-B8 readynasd[3847]: Service ethernet_28c68ed5feb8_...d
Nov 24 21:44:21 nas-D5-FE-B8 readynasd[3847]: Service ethernet_28c68ed5feb8_...d
Nov 24 21:44:22 nas-D5-FE-B8 readynasd[3847]: Radar: create_single_run_worke...d
Nov 24 21:44:22 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/ethernet_28c...n
Nov 24 21:44:22 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/ethernet_28c...y
Nov 24 21:44:22 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/): State=ready
Nov 24 21:46:03 nas-D5-FE-B8 readynasd[3847]: Antivirus scanner definition f....


systemctl status apache2

apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled)
Active: activating (start) since Mon, 24 Nov 2014 22:13:51 +0100; 239ms ago
Process: 29928 ExecStartPre=/frontview/bin/fvapps (code=exited, status=0/SUCCESS)
Control: 30061 (apache2)
CGroup: name=systemd:/system/apache2.service
└ 30061 /usr/sbin/apache2 -k start


journalctl -a | grep apache2 | tail -n 20

Nov 24 22:15:58 nas-D5-FE-B8 apache2[5818]: [Mon Nov 24 22:15:58 2014] [warn] Useless use of AllowOverride in line 7 of /apps/avplus/https.conf.
Nov 24 22:15:58 nas-D5-FE-B8 apache2[5818]: Syntax error on line 1 of /apps/jenkins/https.conf:
Nov 24 22:15:58 nas-D5-FE-B8 apache2[5818]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration
Nov 24 22:15:58 nas-D5-FE-B8 apache2[5952]: [Mon Nov 24 22:15:58 2014] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
Nov 24 22:15:58 nas-D5-FE-B8 apache2[5952]: [Mon Nov 24 22:15:58 2014] [warn] Useless use of AllowOverride in line 7 of /apps/avplus/https.conf.
Nov 24 22:15:58 nas-D5-FE-B8 apache2[5952]: Syntax error on line 1 of /apps/jenkins/https.conf:
Nov 24 22:15:58 nas-D5-FE-B8 apache2[5952]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration
Nov 24 22:15:59 nas-D5-FE-B8 apache2[6087]: [Mon Nov 24 22:15:59 2014] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
Nov 24 22:15:59 nas-D5-FE-B8 apache2[6087]: [Mon Nov 24 22:15:59 2014] [warn] Useless use of AllowOverride in line 7 of /apps/avplus/https.conf.
Nov 24 22:15:59 nas-D5-FE-B8 apache2[6087]: Syntax error on line 1 of /apps/jenkins/https.conf:
Nov 24 22:15:59 nas-D5-FE-B8 apache2[6087]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration
Nov 24 22:15:59 nas-D5-FE-B8 apache2[6222]: [Mon Nov 24 22:15:59 2014] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
Nov 24 22:15:59 nas-D5-FE-B8 apache2[6222]: [Mon Nov 24 22:15:59 2014] [warn] Useless use of AllowOverride in line 7 of /apps/avplus/https.conf.
Nov 24 22:15:59 nas-D5-FE-B8 apache2[6222]: Syntax error on line 1 of /apps/jenkins/https.conf:
Nov 24 22:16:01 nas-D5-FE-B8 systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 24 22:16:01 nas-D5-FE-B8 systemd[1]: Unit apache2.service entered failed state.
Nov 24 22:16:01 nas-D5-FE-B8 systemd[1]: apache2.service holdoff time over, scheduling restart.
Nov 24 22:16:01 nas-D5-FE-B8 systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 24 22:16:01 nas-D5-FE-B8 systemd[1]: Unit apache2.service entered failed state.
Nov 24 22:16:01 nas-D5-FE-B8 systemd[1]: apache2.service holdoff time over, scheduling restart.


journalctl -a | grep readynasd | tail -n 20

Nov 24 21:44:07 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/ethernet_28c68ed5feb8_cable): State=disconnect
Nov 24 21:44:07 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/): State=idle
Nov 24 21:44:07 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/ethernet_28c68ed5feb8_cable): State=idle
Nov 24 21:44:07 nas-D5-FE-B8 readynasd[3847]: Service ethernet_28c68ed5feb8_cable removed
Nov 24 21:44:21 nas-D5-FE-B8 readynasd[3847]: Service ethernet_28c68ed5feb8_cable changed
Nov 24 21:44:22 nas-D5-FE-B8 readynasd[3847]: Radar: create_single_run_worker(radarworker) failed
Nov 24 21:44:22 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/ethernet_28c68ed5feb8_cable): State=configuration
Nov 24 21:44:22 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/ethernet_28c68ed5feb8_cable): State=ready
Nov 24 21:44:22 nas-D5-FE-B8 readynasd[3847]: PropertyChanged (/): State=ready
Nov 24 21:46:03 nas-D5-FE-B8 readynasd[3847]: Antivirus scanner definition file has been updated to '201411241704'.


df -h

Filesystem      Size  Used Avail Use% Mounted on
rootfs 4.0G 2.0G 1.5G 57% /
tmpfs 10M 4.0K 10M 1% /dev
/dev/md0 4.0G 2.0G 1.5G 57% /
tmpfs 1.9G 48K 1.9G 1% /dev/shm
tmpfs 1.9G 4.8M 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs 1.9G 4.0K 1.9G 1% /media
/dev/sdg1 3.7T 3.1T 565G 85% /media/USB_HDD_1
/dev/md127 19T 3.5T 15T 20% /data
/dev/md127 19T 3.5T 15T 20% /home
/dev/md127 19T 3.5T 15T 20% /apps


btrfs fi show

Label: '0ed5feb8:root'  uuid: 801399b1-4737-4f9c-ac2b-b687cab65221
Total devices 1 FS bytes used 1.88GiB
devid 1 size 4.00GiB used 4.00GiB path /dev/md0

Label: '0ed5feb8:data' uuid: c5a632e4-f5d1-4a62-b953-d5213d7c5bf4
Total devices 1 FS bytes used 3.41TiB
devid 1 size 18.17TiB used 4.15TiB path /dev/md127

Btrfs v3.17.1


btrfs fi df /data

Data, single: total=3.43TiB, used=3.40TiB
System, DUP: total=8.00MiB, used=488.00KiB
System, single: total=4.00MiB, used=0.00B
Metadata, DUP: total=372.50GiB, used=4.67GiB
Metadata, single: total=8.00MiB, used=0.00B


One thing I did notice when trying:

service apache2 restart


[....] Restarting apache2 (via systemctl): apache2.serviceJob failed. See system journal and 'systemctl status' for details.
failed!


Seems apache is not starting properly.

I did make some changes before to enable SSI, as listed in https://www.readynas.com/forum/viewtopic.php?f=36&t=73204#p408144. But this never presented problems before. The changed files were simply overwriten by the upgrade and I would need to re-apply the changes.
Message 3 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0

It looks like the Jenkins configuration might be causing issues.

# head /apps/jenkins/https.conf
Message 4 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

Yes, looks that way:

Nov 24 22:32:47 nas-D5-FE-B8 apache2[5819]: Syntax error on line 1 of /apps/jenkins/https.conf:
Nov 24 22:32:47 nas-D5-FE-B8 apache2[5819]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration
Nov 24 22:32:47 nas-D5-FE-B8 systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 24 22:32:47 nas-D5-FE-B8 systemd[1]: Unit apache2.service entered failed state.


head /apps/jenkins/https.conf

        ProxyPreserveHost       Off
ProxyPass /jenkins http://localhost:8443/jenkins
ProxyPassReverse /jenkins http://localhost:8443/jenkins

<Proxy http://localhost:8443/jenkins*>
Order allow,deny
Allow from all
</Proxy>


I'm not using Jenkins at the moment, but installed it for future use. Is there a way to uninstall it from the command-line?
Message 5 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0

What happens if you rename that conf file and try restarting apache?

# mv /apps/jenkins/https.conf /apps/jenkins/https.conf.old
# systemctl restart apache2
Message 6 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

Job failed. See system journal and 'systemctl status' for details.



systemctl status apache2

apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled)
Active: activating (start-pre) since Mon, 24 Nov 2014 22:49:23 +0100; 40ms ago
Process: 29276 ExecStart=/usr/sbin/apache2 $OPTIONS -k start (code=exited, status=1/FAILURE)
Control: 29278 (fvapps)
CGroup: name=systemd:/system/apache2.service
└ control
└ 29278 /bin/bash /frontview/bin/fvapps
Message 7 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0


# journalctl -a | grep apache2 | tail -n 20
Message 8 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: [Mon Nov 24 22:51:39 2014] [warn] Useless use of AllowOverride in line 12 of /etc/frontview/apache/fv-admin.conf.
Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: [Mon Nov 24 22:51:39 2014] [warn] Useless use of AllowOverride in line 25 of /etc/frontview/apache/fv-admin.conf.
Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: [Mon Nov 24 22:51:39 2014] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: [Mon Nov 24 22:51:39 2014] [warn] Useless use of AllowOverride in line 7 of /apps/avplus/https.conf.
Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: [Mon Nov 24 22:51:39 2014] [warn] Useless use of AllowOverride in line 3 of /apps/mysqlr6/https.conf.
Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: [Mon Nov 24 22:51:39 2014] [warn] Useless use of AllowOverride in line 3 of /apps/piwigo/https.conf.
Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: [Mon Nov 24 22:51:39 2014] [warn] Useless use of AllowOverride in line 3 of /apps/surveillance/https.conf.
Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: Syntax error on line 1 of /etc/apache2/sites-enabled/090-jenkins.conf:
Nov 24 22:51:39 nas-D5-FE-B8 apache2[5494]: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration
Nov 24 22:51:39 nas-D5-FE-B8 systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 24 22:51:39 nas-D5-FE-B8 systemd[1]: Unit apache2.service entered failed state.
Nov 24 22:51:40 nas-D5-FE-B8 systemd[1]: apache2.service holdoff time over, scheduling restart.
Nov 24 22:51:40 nas-D5-FE-B8 systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 24 22:51:40 nas-D5-FE-B8 systemd[1]: Unit apache2.service entered failed state.
Nov 24 22:51:40 nas-D5-FE-B8 systemd[1]: apache2.service holdoff time over, scheduling restart.
Nov 24 22:51:40 nas-D5-FE-B8 systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 24 22:51:40 nas-D5-FE-B8 systemd[1]: Unit apache2.service entered failed state.
Nov 24 22:51:41 nas-D5-FE-B8 systemd[1]: apache2.service holdoff time over, scheduling restart.
Nov 24 22:51:41 nas-D5-FE-B8 systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 24 22:51:41 nas-D5-FE-B8 systemd[1]: Unit apache2.service entered failed state.


vi /etc/apache2/sites-enabled/090-jenkins.conf

        ProxyPreserveHost       Off
ProxyPass /jenkins http://localhost:8180/jenkins
ProxyPassReverse /jenkins http://localhost:8180/jenkins

<Proxy http://localhost:8180/jenkins*>
Order allow,deny
Allow from all
</Proxy>
Message 9 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0


# mv /etc/apache2/sites-enabled/090-jenkins.conf /etc/apache2/sites-enabled/090-jenkins.conf.old
# systemctl restart apache2
# journalctl -a | grep apache2 | tail -n 20
Message 10 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0

Interesting those two config files had different ports specified. That could be part of the problem.
Message 11 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

It's a symbolic link.

ls -al 090-jenkins.conf
lrwxrwxrwx 1 root root 23 Nov 24 22:59 090-jenkins.conf -> /apps/jenkins/http.conf


So I did this:

cd /apps/jenkins
mv http.conf http.conf.old

systemctl restart apache2


(no ouput on screen, indicating it started)

Now I can enter the admin web GUI again!

What is the impact of the changes we made?
Can I now uninstall Jenkins (I'm not using it anyway)?
Message 12 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

mdgm wrote:
Interesting those two config files had different ports specified. That could be part of the problem.

I see.
http://localhost:8443/jenkins
vs
http://localhost:8180/jenkins

But then one is for https and the other one is for http, so shouldn't there be different port numbers?
Message 13 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0

You moved the Jenkins apache conf so it wasn't loaded.

Yes you should be able to uninstall it.

Ah. http vs https would explain that
Message 14 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

Thanks for your help!

Remaining issues:


  1. Jenkins doesn't uninstall

  2. Cannot enable SSI and and virtual host any more (https://www.readynas.com/forum/viewtopic.php?f=36&t=73204#p408144), since the apache config has changed significantly.


  3. Found a way to enable the SSI. Will create a post on that later for 6.2.0.
Message 15 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0

Can you remove it via SSH?


dpkg -l | grep jenkins
apt-get remove jenkins
apt-get purge jenkins
rm -rf /apps/jenkins
Message 16 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

dpkg -l | grep jenkins

ii  jenkins                         1.534.0                        all          Continuous integration system written in Java

The remove is complaining about missing dependencies.

apt-get remove jenkins

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cpp-4.7 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
ffmpeg : Depends: libavcodec54 (>= 1.2.0) but it is not installable
Depends: libavformat54 (>= 1.2.0) but it is not installable
Depends: libavresample1 (>= 7:1.2.6) but it is not going to be installed
g++-4.7 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
gcc-4.7 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
lib32gcc1 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
lib32stdc++6 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
libavahi-client-dev : Depends: libavahi-client3 (= 0.6.31-2) but 0.6.31-4.netgear1 is to be installed
libavahi-common-dev : Depends: libavahi-common3 (= 0.6.31-2) but 0.6.31-4.netgear1 is to be installed
libc-dev-bin : Depends: libc6 (< 2.14)
libc6-dev : Depends: libc6 (= 2.13-38+deb7u6)
libc6-i386 : Depends: libc6 (= 2.13-38+deb7u6)
libdbus-1-dev : Depends: libdbus-1-3 (= 1.6.12-1) but 1.8.0-1 is to be installed
libgomp1 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
libitm1 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
libjpeg-turbo8-dev : Depends: libjpeg-turbo8 (= 1.2.1-netgear1) but 1.3.1-0.netgear1 is to be installed
libquadmath0 : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
libstdc++6-4.7-dev : Depends: gcc-4.7-base (= 4.7.2-5) but it is not going to be installed
perl : Depends: perl-base (= 5.14.2-21) but 5.14.2-21+deb7u2 is to be installed
tzdata-java : Depends: tzdata (= 2013c-0wheezy1) but 2014h-0wheezy1 is to be installed
zlib1g-dev : Depends: zlib1g (= 1:1.2.7.dfsg-13) but 1:1.2.8.dfsg-1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Message 17 of 20
mdgm-ntgr
NETGEAR Employee Retired

Re: No more web GUI after upgrade to 6.2.0

Ah, I guess if you don't need to remove Jenkins there's not much harm leaving it there.
Message 18 of 20
dsnpevl
Virtuoso

Re: No more web GUI after upgrade to 6.2.0

mdgm wrote:
Ah, I guess if you don't need to remove Jenkins there's not much harm leaving it there.

I guess not, but I don't like leaving unstable apps on my NAS. The rm -rf got the directory cleaned out and also made the Jenkins logo move from Installed Apps back to Available Apps.

rm -rf /apps/jenkins

In the mean time, a newer version of Jenkins became available (1.534.1) and I managed to install it and now the launch page shows up. So that's solved now too.
Message 19 of 20
hedefalk
Aspirant

Re: No more web GUI after upgrade to 6.2.0

Thanks guys, I had the same problem with not accessing web ui after upgrade to 6.2.2 on my ReadyNas 104. I did:

rm /etc/apache2/sites-enabled
systemctl restart apache2

and got back online.

However, I need jenkins so I reverted that and just:

a2enmod proxy
service apache2 restart

which got me online with jenkins. Doing and upgrade just now of all my plugins so maybe the Jenkins thingy is fixed…

Cheers,
Viktor
instead which will make that command w
Message 20 of 20
Top Contributors
Discussion stats
  • 19 replies
  • 3230 views
  • 1 kudo
  • 3 in conversation
Announcements