Error Updating S.O

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

[root@rockstor yum.repos.d]# yum update rockstor
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile

When I type: yum info rockstor, I get:

Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile

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

@Alejandro_Longas_Her Hello again.

Yes we have seen this one before, take a look at the following thread forum thread:

where @DarkYamik found a work around. It seems there is possibly a regional issue with the date parser in some versions of an upstream package.

Let us know if this gets your sorted. We have had a few reports of this, some caught at the time and others not but as you see from that thread it works on some systems and not on others.

Hope that helps.