hi everyone,
I install the rockstor on raspberry.And I compile with commend “python /path/to/build_dir/bootstrap.py -c /path/to/build_dir/buildout.cfg” is ok,but then I compile with command “/path/to/build_dir/bin/buildout -N -c /path/to/build_dir/buildout.cfg” in end ,it show the errors:
You probably have an old cached version in /tmp. It should tell you the location in the next line of that error. Remove that file and try again. You should also rebase with latest master before trying again.
Thank you! When I come into the /tmp, it’s a empty directory. And if I want to rebase, how can I rebase with latest master??? I don’t know how to do it??
hi suman,I can compile it with that two commends. But I run command “systemctl status rocstor-pre,service” ,it shows errors:
[root@RockStor ~]# systemctl status rockstor-pre.service
● rockstor-pre.service - Tasks required prior to starting Rockstor
Loaded: loaded (/etc/systemd/system/rockstor-pre.service; enabled) Active: failed (Result: exit-code) since Mon 2016-02-29 06:21:31 EST; 6min ago
Main PID: 1970 (code=exited, status=1/FAILURE)
Feb 29 06:21:31 RockStor initrock[1970]: rmtree(fullname, ignore_errors, onerror)
Feb 29 06:21:31 RockStor initrock[1970]: File “/usr/lib/python2.7/shutil.py”, line 252, in rmtree
Feb 29 06:21:31 RockStor initrock[1970]: onerror(os.remove, fullname, sys.exc_info())
Feb 29 06:21:31 RockStor initrock[1970]: File “/usr/lib/python2.7/shutil.py”, line 250, in rmtree
Feb 29 06:21:31 RockStor initrock[1970]: os.remove(fullname)
Feb 29 06:21:31 RockStor initrock[1970]: OSError: [Errno 2] No such file or directory: '/var/lib/pgsql…tmp’
Feb 29 06:21:31 RockStor systemd[1]: rockstor-pre.service: main process exited, code=exited, status=1/FAILURE
Feb 29 06:21:31 RockStor systemd[1]: Failed to start Tasks required prior to starting Rockstor.
Feb 29 06:21:31 RockStor systemd[1]: Unit rockstor-pre.service entered failed state.
Feb 29 06:21:31 RockStor systemd[1]: rockstor-pre.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
and the rockstor-pre.service can not start when I run “systemctl start rockstor-pre.service”