Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install failure on OpenVZ 7.1 #70

Open
azilber opened this issue Feb 8, 2017 · 2 comments
Open

Install failure on OpenVZ 7.1 #70

azilber opened this issue Feb 8, 2017 · 2 comments

Comments

@azilber
Copy link

azilber commented Feb 8, 2017

Install via wget -O - https://raw.githubusercontent.com/sibprogrammer/owp/master/installer/ai.sh | sh
fails

Gem files will remain installed in /usr/local/share/gems/gems/sqlite3-1.3.13 for inspection. Results logged to /usr/local/share/gems/gems/sqlite3-1.3.13/ext/sqlite3/gem_make.out Checking presence of the command: ruby Fatal error: Panel requires Ruby 1.8 (Ruby 1.9 is not supported).

@azilber
Copy link
Author

azilber commented Feb 8, 2017

You should install via RVM.

@ericmaster
Copy link

I managed to install and run owp by switching back to old ruby version 1.8.7 with rvm, what I did was

rvm install 1.8.7

then I grabbed the latest version of the installer

 wget -O - https://raw.githubusercontent.com/sibprogrammer/owp/master/installer/ai.sh | sh -s DOWNLOAD_URL=http://ow.com.ru/download/ovz-web-panel-latest.tgz

I had some trouble installing some dependencies which seemed to be fixed by running 'gem update --system 1.8.25'. Everthing seemed to have gone well after restarting the owp daemon

# /etc/init.d/owp start
Starting OpenVZ Web Panel...
Starting watchdog daemon...
[OK] Watchdog daemon was started.
Starting web server webrick on 0.0.0.0:3000...
[OK] Web server was started.
Starting hardware node daemon...
[OK] Hardware node daemon was started.
Syncing hardware nodes states...
[OK] Hardware nodes information was synced.

I was able to enter through the browser in port 3000 and log into the admin interface, however, no local physical server was detected, when tried to add one I got Internal error: no such file to load -- net/ssh. After digging a bit more I found that net-ssh and net-sftp gems where needed. gem install net-ssh didn't work as needed a newer version of ruby. Fortunately I found them under the /opt/ovz-web-panel/vendor/ directory. Running the following allowed me to manually install those

ruby setup.rb config
ruby setup.rb install

Restarted the server, logged in to the panel, added the physical server (in my case it was in localhost). This time the entry was added but no containers or vms are listed and no information about physical server was displayed. So I'm wondering, was this ever tested with OpenVZ 7? Anyone managed to make it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants