I purchased the Stable updates and upgraded my system from 3.8-12 to 3.9.2-23 or 24, can’t remember specifically. it went through the upgrade process and directed me to reboot which I did. after the reboot the GUI seemed to be coming up and then crashed. I have rebooted a couple of times since to no avail. Per one article I have tried running the initrock and get this error:
[root@ bin]# ./initrock
2018-05-29 15:22:31,202: Supported kernel(/boot/vmlinuz-4.12.4-1.el7.elrepo.x86_64) is already the default
2018-05-29 15:22:31,343: /etc/rc.d/rc.local looks correct. Not updating.
2018-05-29 15:22:31,344: Checking for flash and Running flash optimizations if appropriate.
2018-05-29 15:22:32,139: Updating the timezone from the system
2018-05-29 15:22:32,140: system timezone = America/New_York
2018-05-29 15:22:32,141: Updating sshd_config
2018-05-29 15:22:32,142: sshd_config already has the updates. Leaving it unchanged.
2018-05-29 15:22:32,142: Running app database migrations…
Traceback (most recent call last):
File “./initrock”, line 44, in
sys.exit(scripts.initrock.main())
File “/opt/rockstor/src/rockstor/scripts/initrock.py”, line 423, in main
run_command(migration_cmd + [‘storageadmin’])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /opt/rockstor/bin/django migrate --noinput storageadmin. rc = 1. stdout = [‘Operations to perform:’, ’ Apply all migrations: storageadmin’, ‘Running migrations:’, ’ No migrations to apply.’, ‘’]. stderr = [‘Traceback (most recent call last):’, ’ File “/opt/rockstor/bin/django”, line 44, in ‘, " sys.exit(djangorecipe.manage.main(‘rockstor.settings’))", ’ File “/opt/rockstor/eggs/djangorecipe-1.9-py2.7.egg/djangorecipe/manage.py”, line 9, in main’, ’ management.execute_from_command_line(sys.argv)’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/init.py”, line 354, in execute_from_command_line’, ’ utility.execute()’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/init.py”, line 346, in execute’, ’ self.fetch_command(subcommand).run_from_argv(self.argv)’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/base.py”, line 394, in run_from_argv’, ’ self.execute(*args, **cmd_options)’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/base.py”, line 445, in execute’, ’ output = self.handle(*args, **options)’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/commands/migrate.py”, line 226, in handle’, ’ emit_post_migrate_signal(created_models, self.verbosity, self.interactive, connection.alias)’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/sql.py”, line 280, in emit_post_migrate_signal’, ’ using=db)’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/dispatch/dispatcher.py”, line 189, in send’, ’ response = receiver(signal=self, sender=sender, **named)’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/contrib/auth/management/init.py”, line 82, in create_permissions’, ’ ctype = ContentType.objects.db_manager(using).get_for_model(klass)’, ’ File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/contrib/contenttypes/models.py”, line 80, in get_for_model’, ’ "Error creating new content types. Please make sure contenttypes "’, ‘RuntimeError: Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually.’, ‘’]
Looks like some issue with the django migration? Any help is greatly appreciated.
Thanks!