Changed Router Setup, can't access UI

Hello Rockstor,

I was running Plex on my server(at the attic) which was connect to a separate router network at home. Everything worked great on my bedroom tv. But now i wanted to watch Plex downstairs, here my router connection was weak to Plex and had some buffering problems. So instead of two different networks i slaved one router to the other.

Now when i want to access my Plex server downstair its works. But i can’t access the Rockstor UI anymore, I understand that my IP address has changed, now its 192.168.0.10 as its seems at my monitor and router. But when i access it, i get the follow error.

This site can’t be reached
192.168.0.10 refused to connect.
ERR_CONNECTION_REFUSED

Im am able to login into my as the monitor aswell by SSH. Beside this my monitor shows two 'errors’
Failed to start Crash recovery kernel arming.
Scope lib container-3911-systemd-test-default-dependencies.scope has no PIDs. Refusing.

So i was wondering what did i do wrong? And can anyone help me access the UI again.

PS. I earlier also reversed my router setup, but that didn’t work anymore either.

Greetings,

Pieter Iepsma

Http -> HTTPS redirection no longer works. Have you tried https://192.168.0.10 ?

Yes, I did try that, but it made not difference.

Greetings,

Pierrious

Login by ssh as root and review the output of ‘ifconfig’. Find the adapter ‘enp2s0’. If it shows something different than “192.168.0.xxx“ that might be the problem.

There was no enp2s0, but there was enp9s0. This was the output:

enp9s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::226:2dff:fe03:6256 prefixlen 64 scopeid 0x20
ether 00:26:2d:03:62:56 txqueuelen 1000 (Ethernet)
RX packets 33161 bytes 47840572 (45.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3508 bytes 611692 (597.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16

So says 192.168.0.10, so i get thats not the problem, any other suggestions?

Is the rockstor service running? Output of this command would be helpful: systemctl status -l rockstor-pre rockstor rockstor-bootstrap

Thanks for the response, this is the output:

[root@pierrious ~]# systemctl status -l rockstor-pre rockstor rockstor-bootstrap
● rockstor-pre.service - Tasks required prior to starting Rockstor
Loaded: loaded (/etc/systemd/system/rockstor-pre.service; enabled; vendor preset: disabled)
Active: active (exited) since Fri 2016-07-22 13:18:42 CEST; 16min ago
Main PID: 2500 (code=exited, status=0/SUCCESS)
Memory: 0B
CGroup: /system.slice/rockstor-pre.service

Jul 22 13:18:28 pierrious initrock[2500]: 2016-07-22 13:18:28,456: Updating the timezone from the system
Jul 22 13:18:28 pierrious initrock[2500]: 2016-07-22 13:18:28,458: system timezone = Europe/Amsterdam
Jul 22 13:18:28 pierrious initrock[2500]: 2016-07-22 13:18:28,465: Updating sshd_config
Jul 22 13:18:28 pierrious initrock[2500]: 2016-07-22 13:18:28,482: sshd_config already has the updates. Leaving it unchanged.
Jul 22 13:18:28 pierrious initrock[2500]: 2016-07-22 13:18:28,482: Running prepdb…
Jul 22 13:18:34 pierrious initrock[2500]: 2016-07-22 13:18:34,512: stopping firewalld…
Jul 22 13:18:35 pierrious initrock[2500]: 2016-07-22 13:18:35,273: firewalld stopped and disabled
Jul 22 13:18:35 pierrious initrock[2500]: 2016-07-22 13:18:35,948: Registered task: fs.btrfs.start_balance
Jul 22 13:18:42 pierrious initrock[2500]: 2016-07-22 13:18:42,678: rockstor service looks correct. Not updating.
Jul 22 13:18:42 pierrious initrock[2500]: 2016-07-22 13:18:42,683: rockstor-bootstrap.service looks correct. Not updating.

● rockstor.service - RockStor startup script
Loaded: loaded (/etc/systemd/system/rockstor.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2016-07-22 13:18:42 CEST; 16min ago
Main PID: 5358 (supervisord)
Memory: 44.0M
CGroup: /system.slice/rockstor.service
├─5358 /usr/bin/python /opt/rockstor/bin/supervisord -c /opt/rockstor/etc/supervisord.conf
├─5518 /usr/bin/python /opt/rockstor/bin/gunicorn --bind=127.0.0.1:8000 --pid=/run/gunicorn.pid --workers=2 --log-file=/opt/rockstor/var/log/gunicorn.log --pythonpath=/opt/rockstor/src/rockstor --settings=settings --timeout=120 --graceful-timeout=120 wsgi:application
├─5519 /usr/bin/python /opt/rockstor/bin/data-collector
├─5520 /usr/bin/python2.7 /opt/rockstor/bin/django ztaskd --noreload --replayfailed -f /opt/rockstor/var/log/ztask.log
├─5767 /usr/bin/python /opt/rockstor/bin/gunicorn --bind=127.0.0.1:8000 --pid=/run/gunicorn.pid --workers=2 --log-file=/opt/rockstor/var/log/gunicorn.log --pythonpath=/opt/rockstor/src/rockstor --settings=settings --timeout=120 --graceful-timeout=120 wsgi:application
└─5768 /usr/bin/python /opt/rockstor/bin/gunicorn --bind=127.0.0.1:8000 --pid=/run/gunicorn.pid --workers=2 --log-file=/opt/rockstor/var/log/gunicorn.log --pythonpath=/opt/rockstor/src/rockstor --settings=settings --timeout=120 --graceful-timeout=120 wsgi:application

Jul 22 13:18:48 pierrious supervisord[5358]: 2016-07-22 13:18:48,616 INFO spawned: ‘nginx’ with pid 5529
Jul 22 13:18:49 pierrious supervisord[5358]: 2016-07-22 13:18:49,257 INFO success: data-collector entered RUNNING state, process has stayed up for > than 2 seconds (startsecs)
Jul 22 13:18:49 pierrious supervisord[5358]: 2016-07-22 13:18:49,262 INFO success: ztask-daemon entered RUNNING state, process has stayed up for > than 2 seconds (startsecs)
Jul 22 13:18:49 pierrious supervisord[5358]: 2016-07-22 13:18:49,288 INFO exited: nginx (exit status 1; not expected)
Jul 22 13:18:51 pierrious supervisord[5358]: 2016-07-22 13:18:51,339 INFO spawned: ‘nginx’ with pid 5551
Jul 22 13:18:51 pierrious supervisord[5358]: 2016-07-22 13:18:51,773 INFO exited: nginx (exit status 1; not expected)
Jul 22 13:18:52 pierrious supervisord[5358]: 2016-07-22 13:18:52,775 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)
Jul 22 13:18:54 pierrious supervisord[5358]: 2016-07-22 13:18:54,803 INFO spawned: ‘nginx’ with pid 5706
Jul 22 13:18:55 pierrious supervisord[5358]: 2016-07-22 13:18:55,270 INFO exited: nginx (exit status 1; not expected)
Jul 22 13:18:56 pierrious supervisord[5358]: 2016-07-22 13:18:56,273 INFO gave up: nginx entered FATAL state, too many start retries too quickly

● rockstor-bootstrap.service - Rockstor bootstrapping tasks
Loaded: loaded (/etc/systemd/system/rockstor-bootstrap.service; enabled; vendor preset: disabled)
Active: active (exited) since Fri 2016-07-22 13:20:04 CEST; 15min ago
Main PID: 5359 (code=exited, status=0/SUCCESS)
Memory: 0B
CGroup: /system.slice/rockstor-bootstrap.service

Jul 22 13:20:04 pierrious bootstrap[5359]: BTRFS device scan complete
Jul 22 13:20:04 pierrious bootstrap[5359]: Exception occured while bootstrapping. This could be because rockstor.service is still starting up. will wait 2 seconds and try again. Exception: Exception while setting access_token for url(http://127.0.0.1:8000): HTTPConnectionPool(host=‘127.0.0.1’, port=8000): Max retries exceeded with url: /o/token/ (Caused by <class ‘socket.error’>: [Errno 111] Connection refused). content: None
Jul 22 13:20:04 pierrious bootstrap[5359]: Exception occured while bootstrapping. This could be because rockstor.service is still starting up. will wait 2 seconds and try again. Exception: Exception while setting access_token for url(http://127.0.0.1:8000): HTTPConnectionPool(host=‘127.0.0.1’, port=8000): Max retries exceeded with url: /o/token/ (Caused by <class ‘socket.error’>: [Errno 111] Connection refused). content: None
Jul 22 13:20:04 pierrious bootstrap[5359]: Exception occured while bootstrapping. This could be because rockstor.service is still starting up. will wait 2 seconds and try again. Exception: Exception while setting access_token for url(http://127.0.0.1:8000): HTTPConnectionPool(host=‘127.0.0.1’, port=8000): Max retries exceeded with url: /o/token/ (Caused by <class ‘socket.error’>: [Errno 111] Connection refused). content: None
Jul 22 13:20:04 pierrious bootstrap[5359]: Exception occured while bootstrapping. This could be because rockstor.service is still starting up. will wait 2 seconds and try again. Exception: Exception while setting access_token for url(http://127.0.0.1:8000): HTTPConnectionPool(host=‘127.0.0.1’, port=8000): Max retries exceeded with url: /o/token/ (Caused by <class ‘socket.error’>: [Errno 111] Connection refused). content: None
Jul 22 13:20:04 pierrious bootstrap[5359]: Bootstrapping complete
Jul 22 13:20:04 pierrious bootstrap[5359]: Running qgroup cleanup. /opt/rockstor/bin/qgroup-clean
Jul 22 13:20:04 pierrious bootstrap[5359]: Running qgroup limit maxout. /opt/rockstor/bin/qgroup-maxout-limit