[GH-ISSUE #70] Install failure on OpenVZ 7.1 #42

Open
opened 2026-02-27 22:07:21 +03:00 by kerem · 2 comments
Owner

Originally created by @azilber on GitHub (Feb 8, 2017).
Original GitHub issue: https://github.com/sibprogrammer/owp/issues/70

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).

Originally created by @azilber on GitHub (Feb 8, 2017). Original GitHub issue: https://github.com/sibprogrammer/owp/issues/70 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). `
Author
Owner

@azilber commented on GitHub (Feb 8, 2017):

You should install via RVM.

<!-- gh-comment-id:278338487 --> @azilber commented on GitHub (Feb 8, 2017): You should install via RVM.
Author
Owner

@ericmaster commented on GitHub (May 7, 2017):

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?

<!-- gh-comment-id:299729138 --> @ericmaster commented on GitHub (May 7, 2017): 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 in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/owp#42
No description provided.