Jump to content
XPEnology Community
  • 0

Upgraded to 6.2, Can't Login to Web UI & Network Changed


WiteWulf

Question

Morning all, got a bit of a weird one here. I've just upgraded to 6.2 (23739) but can't login to the DSM web interface and my system seems to have changed from a static IP to DHCP. More detail below:

 

The system is a baremetal install on an HP Gen8 Microserver. It was running Jun's boot loader v1.02b and DSM 6.1.7-15284 Update 2.

 

Using this as a guide (https://xpenology.com/forum/topic/7973-tutorial-installmigrate-dsm-52-to-61x-juns-loader/) I created a new USB stick with "Jun's Loader v1.03b DS3615xs". I update the VID, PID, serial number and MAC addresses in grub.cfg as detailed in the guide, flashed it to the USB stick and booted up with the new USB stick in place of the old one.

 

The system soon showed up in Synology Assistant as "migratable" system so I opened the web page, chose to keep settings and data, and gave it the "DSM_DS3615xs_23739.pat" file to update to. I wanted to take it to 6.2 first, then upgrade to 6.2.1.

 

As far as I could tell the install worked okay, the system rebooted and I soon received a few emails from the system telling me about turning on SMART monitoring and warning me that I was running out of disk space. However, the system seems to have stayed on DHCP, using the IP address it acquired during the upgrade phase and not using the static address it was configured with previously. I can browse to the login page for DSM using the DHCP address and enter my username (or admin account name) and password and it seems to accept either, but I get a "Loading..." message and never get the UI.


 

Spoiler

 

dsm_admin_login.png

 

 

 

If I refresh the page I just get a plain white page. I can, however, SSH into the system using my regular account and admin. Services appear to be running: Plex is accessible on the DHCP address, as is LibreNMS (which is running in a docker container on a bridged network on the server).

 

I next put in a DHCP reservation on my router to ensure the server got the IP address it /was/ configured with staticly. That worked, it's now on the old IP address, but I still can't login to DSM.

 

Digging a bit deeper, I tail'd /var/log/messages and get the following messages repeating every few seconds. So it looks like there's a permissions error somewhere in /var/packages and /usr/local/rc.d, but I don't know what it is. The HDDs in the system sound very busy, but from looking at the output from 'top' that's just Plex doing a library scan  ¯\_(ツ)_/¯ 

 

Help, please! :-)

 

*edit* the output below in /var/log/messages only begins appearing *after* I try to login to DSM. If I log in via SSH I can see that /var/log/messages is pretty quiet until I try to login to the web UI

*edit* /usr/local/etc/rc.d had nothing in it but a old init script to turn on CPU frequency scaling. I've deleted that but am still seeing the same messages

 

Quote

2019-01-08T13:29:58+00:00 diskstation synopkg: pkgtool.cpp:2284 chmod failed for /var/packages (Operation not permitted)

2019-01-08T13:29:58+00:00 diskstation synopkg: pkgtool.cpp:2293 chmod failed for /usr/local/etc/rc.d (Operation not permitted)

2019-01-08T13:29:58+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-CloudSync [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-CloudSync (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-LogCenter [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-LogCenter (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-WebStation [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-WebStation (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-DownloadStation [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-DownloadStation (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-EmbyServer [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-EmbyServer (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-OAuthService [0x0900 file_set_pair.c:18]

2019-01-08T13:29:58+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-OAuthService (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-py3k [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-py3k (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-FileStation [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-FileStation (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-StorageAnalyzer [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-StorageAnalyzer (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-Plex Media Server [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-Plex Media Server (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-Docker [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-Docker (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-SynoFinder [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-SynoFinder (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-domoticz [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-domoticz (err=-1) [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: extra_env.cpp:71 Failed to dump /tmp/synopkgctl.tmp-Java7 [0x0900 file_set_pair.c:18]

2019-01-08T13:29:59+00:00 diskstation synopkg: pkgstartstop.cpp:379 Failed to stop pkgctl-Java7 (err=-1) [0x0900 file_set_pair.c:18]

 

Edited by WiteWulf
  • Like 1
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Okay, fixed it, what a pig that was!

 

Following saoclyph's post here:

...I started digging around in /etc. I replaced all the rc.* files with copies from the installer .pat file (it's a tar file, you can extract it and find the files you need) and also deleted an old .xpenoboot folder in root. Rebooted and I'm in to the DSM interface with no problems. Hope this is of help to others who run into the same or similar problem!

Link to comment
Share on other sites

  • 0

I'm also getting the following chunk of output repeated every few seconds in /var/log/apparmor.log

 

It's really quite unhappy about something, it's either not starting the DSM UI service or refusing to log me in, not sure which:

 

Quote

019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /var/log/synopkg.log denied by profile /usr/syno/sbin/synoscgi//SYNO.Core.Desktop.Initdata

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/openhook.so(+0xafb) [0x7f17d59b9afb]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/openhook.so(fopen64+0x4a) [0x7f17d59b9e9a]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libstdc++.so.6(_ZNSt12__basic_fileIcE4openEPKcSt13_Ios_Openmodei+0x34) [0x7f17d4b10c18]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode+0x36) [0x7f17d4b3415c]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynopkg.so.1(_ZN15SYNOPackageTool14PMSWriteSysLogEPKc+0x19e) [0x7f17d57082ee]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynopkg.so.1(_ZN15SYNOPackageTool14PackageManager20serviceControlActionENS_21PKG_INSTALLATION_TYPEERKSsbPKcS5_NS_8MSG_TYPEE+0x2f9) [0x7f17d5722e99]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynopkg.so.1(_ZN15SYNOPackageTool14PackageManager19serviceControlOnOffESt6vectorISsSaISsEEbb+0x1ac) [0x7f17d5726b1c]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynopkg.so.1(_ZN15SYNOPackageTool14PackageManager22serviceControlOnOffALLEbbPKcS2_+0x340) [0x7f17d5727d70]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /usr/syno/bin/synopkg() [0x406aca]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /usr/syno/bin/synopkg() [0x4035f6]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libc.so.6(__libc_start_main+0xf0) [0x7f17d44fb030]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /usr/syno/bin/synopkg() [0x40376a]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /tmp/synopkgctl.tmp-CloudSync denied by profile /usr/syno/sbin/synoscgi//SYNO.Core.Desktop.Initdata

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/openhook.so(+0xafb) [0x7f17d59b9afb]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/openhook.so(fopen64+0x4a) [0x7f17d59b9e9a]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynocore.so.6(SLIBCFileSetPair+0x2e) [0x7f17d4d91f1b]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynopkg.so.1(_ZN15SYNOPackageTool7Service12DumpExtraEnvERKSsNS_21PKG_INSTALLATION_TYPEEPKcS5_+0x13b) [0x7f17d57809ab]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynopkg.so.1(_ZN15SYNOPackageTool14PackageManager20serviceControlActionENS_21PKG_INSTALLATION_TYPEERKSsbPKcS5_NS_8MSG_TYPEE+0xc1f) [0x7f17d57237bf]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynopkg.so.1(_ZN15SYNOPackageTool14PackageManager19serviceControlOnOffESt6vectorISsSaISsEEbb+0x1ac) [0x7f17d5726b1c]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libsynopkg.so.1(_ZN15SYNOPackageTool14PackageManager22serviceControlOnOffALLEbbPKcS2_+0x340) [0x7f17d5727d70]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /usr/syno/bin/synopkg() [0x406aca]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /usr/syno/bin/synopkg() [0x4035f6]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /lib/libc.so.6(__libc_start_main+0xf0) [0x7f17d44fb030]

2019-01-08T13:39:10+00:00 diskstation synopkg: AppArmor: /usr/syno/bin/synopkg() [0x40376a]

 

Edited by WiteWulf
removed repeating text from log output
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...