Hi there,
I apologize if this has already been covered somewhere, but I wasn’t able to find anything specific to my problem.
I was trying to update my RockStor using the WebUI and I get this error:
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/command.py”, line 195, in post
return Response(update_check(subscription=subo))
File “/opt/rockstor/src/rockstor/system/pkg_mgmt.py”, line 163, in update_check
o, e, rc = run_command([YUM, ‘changelog’, date, pkg])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 115, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/yum changelog 2017-Jul-03 rockstor. rc = 1. stdout = [‘Loaded plugins: changelog, fastestmirror’, ‘’]. stderr = [‘Traceback (most recent call last):’, ’ File “/usr/bin/yum”, line 29, in ‘, ’ yummain.user_main(sys.argv[1:], exit_code=True)’, ’ File “/usr/share/yum-cli/yummain.py”, line 375, in user_main’, ’ errcode = main(args)’, ’ File “/usr/share/yum-cli/yummain.py”, line 184, in main’, ’ result, resultmsgs = base.doCommands()’, ’ File “/usr/share/yum-cli/cli.py”, line 585, in doCommands’, ’ return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)’, ’ File “/usr/lib/yum-plugins/changelog.py”, line 215, in doCommand’, " if self._since_dto == dateutil_parser.parse(‘garbage’, fuzzy=True):", ’ File “/usr/lib/python2.7/site-packages/dateutil/parser/_parser.py”, line 1356, in parse’, ’ return DEFAULTPARSER.parse(timestr, **kwargs)’, ’ File “/usr/lib/python2.7/site-packages/dateutil/parser/_parser.py”, line 651, in parse’, ’ raise ValueError(“String does not contain a date:”, timestr)’, “ValueError: (u’String does not contain a date:’, ‘garbage’)”, ‘’]
Then I tried using the command: yum update rockstor and get:
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
- base: mirror.edatel.net.co
- epel: mirror.upb.edu.co
- extras: mirror.edatel.net.co
- updates: mirror.edatel.net.co
Installed Packages
Name : python-dateutil
Arch : noarch
Version : 1.5
Release : 7.el7
Size : 343 k
Repo : installed
From repo : anaconda
Summary : Powerful extensions to the standard datetime module
URL : http://labix.org/python-dateutil
License : Python
Description : The dateutil module provides powerful extensions to the standard datetime
: module available in Python 2.3+.
[root@rockstor yum.repos.d]# yum update rockstor
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
- base: mirror.edatel.net.co
- epel: mirror.upb.edu.co
- extras: mirror.edatel.net.co
- updates: mirror.edatel.net.co
rockstor
No packages marked for update
When I type: yum info rockstor, I get:
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
- base: mirror.edatel.net.co
- epel: mirror.upb.edu.co
- extras: mirror.edatel.net.co
- updates: mirror.edatel.net.co
Installed Packages
Name : rockstor
Arch : x86_64
Version : 3.9.1
Release : 0
Size : 84 M
Repo : installed
From repo : anaconda
Summary : RockStor – Store Smartly
License : GPL
Description : RockStor – Store Smartly
The system info is (uname -a):
Linux rockstor.alongas.com 4.10.6-1.el7.elrepo.x86_64 #1 SMP Sun Mar 26 12:19:32 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
How can I update the system without lost the information?
Regards,
Alejandro