This is my first time using RockStor. I installed Rockstor-3.8-7 from a CD onto a flash drive. If I encrypt the flash drive during the installation, I cannot connect to the web ui using the IP address that RockStor provides. I enter my passphrase during the startup and am able to login as root.
I tried the installation again, but did not encrypt the drive and I can connect to the web ui. Just to make sure it was encryption causing the problem, I reinstalled RockStor, encrypted the flash drive during the setup, and I cannot connect to the web ui.
I followed the instructions in New Install, WebUI Issues with my drive encrypted. I was able to connect using SSH. /opt/rockstor/.initrock did not exist
Below is the output when I ran /opt/rockstor/bin/initrock:
[root@Rockstor ~]# cd /opt/rockstor/bin
[root@Rockstor bin]# ./initrock
2015-09-27 01:13:00,686: Supported kernel(/boot/vmlinuz-4.1.0-1.el7.elrepo.x86_64) is already the default
2015-09-27 01:13:00,772: Checking for flash and Running flash optimizations if appropriate.
Traceback (most recent call last):
File "./initrock", line 43, in <module>
sys.exit(scripts.initrock.main())
File "/opt/rockstor/src/rockstor/scripts/initrock.py", line 194, in main
run_command([FLASH_OPTIMIZE, '-x'])
File "/opt/rockstor/src/rockstor/system/osi.py", line 85, in run_command
raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = ['/opt/rockstor//bin/flash-optimize', '-x']. rc = 1. stdout = ['']. stderr = ['2015-09-27 01:13:01,218: Root drive is dm-', '2015-09-27 01:13:01,218: Checking for TRIM support on dm-', 'Traceback (most recent call last):', ' File "/opt/rockstor//bin/flash-optimize", line 43, in <module>', ' sys.exit(scripts.flash_optimize.main())', ' File "/opt/rockstor/src/rockstor/scripts/flash_optimize.py", line 166, in main', ' if (trim_support(rd) is True):', ' File "/opt/rockstor/src/rockstor/scripts/flash_optimize.py", line 79, in trim_support', " o, e, rc = run_command(['hdparm', '-I', '/dev/%s' % disk])", ' File "/opt/rockstor/src/rockstor/system/osi.py", line 85, in run_command', ' raise CommandException(cmd, out, err, rc)', "system.exceptions.CommandException: Error running a command. cmd = ['hdparm', '-I', '/dev/dm-']. rc = 2. stdout = ['']. stderr = ['/dev/dm-: No such file or directory', '']", '']
[root@Rockstor bin]#
Please let me know what else I can do to help troubleshoot this. My workaround is to install onto another flash drive without using encryption, so I can continue to evaluate RockStor.