Rockstor Update, Rockstor stopped work

Dear Rockstor Community,

I was happily using Rockstor!. So i checked out the forum and I noticed there was an update for Rockstor. So I thought ah well, I will buy the subscription. Couple minutes later, receiver the code and activated.
Immediately after activation there was an pop-up saying there was an update. So it clicked update. Everything seems to be working the update was running. After a well I needed to refresh my window. Rockstor interface loaded and it said :’running an old version of Rockstor, please reboot’ or something. So I rebooted wait ~10min. Tried to connect to the web-ui, but there was no connection.
So I hooked up my monitor to my Nas(Asus Inspire). I noticed the screen was filled with text I didn’t understand, like:
{0.309935] [ffffffff81322349>] dump_stack+0x44/9x64

Etc.
Kernel Offset: disabled
— end Kernel panic – not syncing VFS: Unable to mount root fs on unkown-block(0,0)

So I reboot my Nas. It gave me 4 options to load Rockstor:
• Rockstor (4.3…3-1.el7 …. With debugging
• Rockstor (4.3…3-1.el7 ….
• Rockstor 3 (Core) with Linux 4.2.5-1…
• Rockstor 3 (Core) with Linux 0-rescue……

The first options gave me the screen with text and nummers I don’t understand. The other two options bring me to the screen saying:
Rockstor is successfully installed.
You can acces the web-ui by point your browser to http:192.168….
Login

But when I tried to access my web-ui, it won’t work anymore. So I guess something went wrong with the update. Now, my question is how to continue.

A. Fix it somehow
B. Reinstall Rockstor, but lose my settings.

Thank you for your time.

Greetings,

Pierrious

It seems like the problem here is not a package update issue like I was helping @tobb555 with, but a less serious one in which 4.3.3 kernel is not compatible. That is ok and you can just boot into 4.2.5, which you did.

Do not re-install just yet. I think the update itself went OK. but perhaps there’s another reason behind web-ui not working anymore.

Could you provide the output of systemctl status -l rockstor-pre rockstor rockstor-bootstrap command to start with?

Thank you for the reply. I tried to add a photo, but that doesnt seems to work(stuck at uploading 100%).Anyhow
Its said:

Rcokstor-pre.service Task required prior to starting Rockstor
Loaded: Loaded
Active: failed
Main PID: 2367

rockstor.service
Laoded: loaded
Acive: interactie(dead)

rockstor-bootstrap
Laoded: loaded
Acive: interactie(dead)

Greetings,

Pierrious

Ok, so rockstor-pre failed. Let’s get the output of that at least some how: systemctl status -l rockstor-pre

If you are predominantly a windows person, you could use the putty program to ssh into your Rockstor box as the root user. It makes it easy to copy-paste.

Uhe sorry i cant follow. What do I need to do?
If i type that, it gives the same result agian.

PS. I choose Rockstor, since I dont have any experience how to ever with linux or ‘ssh’.

Fair point. we are working on it so you won’t need to ssh. For now, just trying to help you and that’s only possible if we can see why rockstor-pre failed. Typically, when you type systemctl status -l rockstor-pre, There will be more lines with clues to help solve the problem. If you want to send a photo/screenshot, you can also try emailing it to support@rockstor.com

This is the output:

Rockstor-pre.service - Tasks required prior to starting Rockstor
Loaded: loaded (/etc/systemd/system/rockstor-pre.servcei; enabled; vendor preset; disabled)
Active failed(writen in red) (Result: exit-code) since Fri 2016-01-29 00:31:25 CET; 23min ago
Main PID: 2367 (code=exited, status=1/FAILURE)

Thanks. Wish there was a bit more information, but that’s ok. Try restarting the service with systemctl restart rockstor-pre. Capture the output followed by the output of systemctl status -l rockstor-pre

Jobs for rockstor-pre.service failed because the control process exited with error code. See "systemctl status rockstor-pre.service"and “journalctl -xe” for details.

output of those two commands would be helpful to troubleshoot further, thanks.

The first one still gives:

Rockstor-pre.service - Tasks required prior to starting Rockstor
Loaded: loaded (/etc/systemd/system/rockstor-pre.servcei; enabled; vendor preset; disabled)
Active failed(writen in red) (Result: exit-code) since Fri 2016-01-29 00:31:25 CET; 23min ago
Main PID: 2367 (code=exited, status=1/FAILURE)

The second one give

~
~
~
~
etc. cant see if theres anything ahead of the tons of ~

Guess i need to get the SSH thing working to see the whole result. How do i do that?

I am afraid a bit more linux savvy-ness is required so you can help me help you. Assuming you are on windows, here’s the putty program that will help you ssh into your Rockstor box. Sorry can’t really help you with ssh any more than that. Google is your friend here.

If all of this is too much of a hassle, you can reinstall and request a new activation code. Just send the new appliance ID to support@rockstor.com

I will try to figure out how to get Putty to work, and mabye get some more information.
But for now its 01:44 here, so I will do that tomorrow. Tomorrow I will post more info.

Thanks for help, good night.

Greetings,

Pierrious.

I used BitVise for my SSH client. I think its a little easier to use the Putty.

1 Like

Dear Rockstor Community,

Yesterday I tried to connect with SSH, but I wasn’t able. Today I figured I had to be logged in as root instead of Pierrious. So once I logged in a root, i was able to connect. And as Root i was able to get more information.

Results: systemctl status -l rockstor-pre

[root@pierrious ~]# systemctl status -l rockstor-pre
● rockstor-pre.service - Tasks required prior to starting Rockstor
Loaded: loaded (/etc/systemd/system/rockstor-pre.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-01-29 16:18:32 CET; 7min ago
Main PID: 2513 (code=exited, status=1/FAILURE)

Jan 29 16:18:32 pierrious initrock[2513]: File “/opt/rockstor/src/rockstor/system/pkg_mgmt.py”, line 44, in downgrade_pkgs
Jan 29 16:18:32 pierrious initrock[2513]: return run_command(cmd)
Jan 29 16:18:32 pierrious initrock[2513]: File “/opt/rockstor/src/rockstor/system/osi.py”, line 89, in run_command
Jan 29 16:18:32 pierrious initrock[2513]: raise CommandException(cmd, out, err, rc)
Jan 29 16:18:32 pierrious initrock[2513]: system.exceptions.CommandException: Error running a command. cmd = [’/usr/bin/yum’, ‘–setopt=timeout=600’, ‘-y’, ‘downgrade’, ‘python-2.7.5-18.el7_1.1’, ‘python-libs-2.7.5-18.el7_1.1’]. rc = 1. stdout = [‘Loaded plugins: changelog, fastestmirror’, ‘Loading mirror speeds from cached hostfile’, ’ * base: mirrors.noction.com’, ’ * epel: mirror.kinamo.be’, ’ * extras: mirror.previder.nl’, ’ * updates: mirror.previder.nl’, ‘Resolving Dependencies’, ‘–> Running transaction check’, ‘—> Package python.x86_64 0:2.7.5-18.el7_1.1 will be a downgrade’, ‘—> Package python.x86_64 0:2.7.5-34.el7 will be erased’, ‘—> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be a downgrade’, ‘—> Package python-libs.x86_64 0:2.7.5-34.el7 will be erased’, ‘–> Finished Dependency Resolution’, ‘’, ‘Dependencies Resolved’, ‘’, ‘================================================================================’, ’ Package Arch Version Repository Size’, ‘================================================================================’, ‘Reinstalling:’, ’ python x86_64 2.7.5-18.el7_1.1 rockstor 86 k’, ’ python-libs x86_64 2.7.5-18.el7_1.1 rockstor 5.6 M’, ‘’, ‘Transaction Summary’, ‘================================================================================’, ‘Reinstall 2 Packages’, ‘’, ‘Total size: 5.7 M’, ‘Downloading packages:’, ‘Running transaction check’, ‘Running transaction test’, ‘’]. stderr = [‘There are unfinished transactions remaining. You might consider running yum-complete-transaction, or “yum-complete-transaction --cleanup-only” and “yum history redo last”, first to finish them. If those don’t work you’ll have to try removing/installing packages by hand (maybe package-cleanup can help).’, ‘The program yum-complete-transaction is found in the yum-utils package.’, ‘’, ‘’, ‘Transaction check error:’, ’ package python-libs-2.7.5-18.el7_1.1.x86_64 is already installed’, ’ package python-2.7.5-18.el7_1.1.x86_64 is
Jan 29 16:18:32 pierrious initrock[2513]: already installed’, ‘’, ‘Error Summary’, ‘-------------’, ‘’, ‘’]
Jan 29 16:18:32 pierrious systemd[1]: rockstor-pre.service: main process exited, code=exited, status=1/FAILURE
Jan 29 16:18:32 pierrious systemd[1]: Failed to start Tasks required prior to starting Rockstor.
Jan 29 16:18:32 pierrious systemd[1]: Unit rockstor-pre.service entered failed state.
Jan 29 16:18:32 pierrious systemd[1]: rockstor-pre.service failed.

Results journalctl -xe:

[root@pierrious ~]# journalctl -xe
– Subject: A new session 5 has been created for user root
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
– Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat

– A new session with the ID 5 has been created for the user root.

– The leading process of the session is 3510.
Jan 29 16:25:41 pierrious systemd[1]: Started Session 5 of user root.
– Subject: Unit session-5.scope has finished start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit session-5.scope has finished starting up.

– The start-up result is done.
Jan 29 16:25:41 pierrious systemd[1]: Starting Session 5 of user root.
– Subject: Unit session-5.scope has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit session-5.scope has begun starting up.
Jan 29 16:25:41 pierrious sshd[3510]: pam_unix(sshd:session): session opened for
lines 2763-2785/2785 (END)
– Subject: A new session 5 has been created for user root
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
– Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat

– A new session with the ID 5 has been created for the user root.

– The leading process of the session is 3510.
Jan 29 16:25:41 pierrious systemd[1]: Started Session 5 of user root.
– Subject: Unit session-5.scope has finished start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit session-5.scope has finished starting up.

– The start-up result is done.
Jan 29 16:25:41 pierrious systemd[1]: Starting Session 5 of user root.
– Subject: Unit session-5.scope has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit session-5.scope has begun starting up.
Jan 29 16:25:41 pierrious sshd[3510]: pam_unix(sshd:session): session opened for user root by (uid=0)

Greetings,

Pierrious

Thanks for the info @Pierrious, glad you got the ssh stuff figured out. Could you run the following commands and report back the output?

  1. yum-complete-transaction --cleanup-only
  2. yum update

-bash: yum-complete-transaction: command not found

oh right, you need to first install it with yum install yum-utils

[root@pierrious ~]# yum install yum-utils
Failed to set locale, defaulting to C
Loaded plugins: changelog, fastestmirror
Rockstor-Stable | 2.9 kB 00:00
rockstor | 2.9 kB 00:00
Loading mirror speeds from cached hostfile

  • base: mirror.sitbv.nl
  • epel: mirror.kinamo.be
  • extras: mirror.yourwebhoster.eu
  • updates: mirror.sitbv.nl
    Resolving Dependencies
    There are unfinished transactions remaining. You might consider running yum-complete-transaction, or “yum-complete-transaction --cleanup-only” and “yum history redo last”, first to finish them. If those don’t work you’ll have to try removing/installing packages by hand (maybe package-cleanup can help).
    The program yum-complete-transaction is found in the yum-utils package.
    –> Running transaction check
    —> Package yum-utils.noarch 0:1.1.31-34.el7 will be installed
    –> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-34.el7.noarch
    –> Running transaction check
    —> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
    –> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.el7.noarch
    –> Running transaction check
    —> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed
    –> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Installing:
yum-utils noarch 1.1.31-34.el7 base 113 k
Installing for dependencies:
python-chardet noarch 2.2.1-1.el7_1 base 227 k
python-kitchen noarch 1.1.1-5.el7 base 267 k

Transaction Summary

Install 1 Package (+2 Dependent packages)

Total download size: 607 k
Installed size: 2.8 M
Is this ok [y/d/N]:

Is this oke?

As a new user i reached my maximum post for today, to i posted it in here!!

Installing : python-chardet-2.2.1-1.el7_1.noarch 1/3
Installing : python-kitchen-1.1.1-5.el7.noarch 2/3
Installing : yum-utils-1.1.31-34.el7.noarch 3/3
Verifying : python-kitchen-1.1.1-5.el7.noarch 1/3
Verifying : yum-utils-1.1.31-34.el7.noarch 2/3
Verifying : python-chardet-2.2.1-1.el7_1.noarch 3/3

Installed:
yum-utils.noarch 0:1.1.31-34.el7

Dependency Installed:
python-chardet.noarch 0:2.2.1-1.el7_1 python-kitchen.noarch 0:1.1.1-5.el7

Complete!
[root@pierrious ~]# yum-complete-transaction --cleanup-only
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

Yes, that is fine. You could run yum install -y yum-utils to avoid the prompt.