WebVZ 2.0 is out

5 views
Skip to first unread message

Shuaib

unread,
Sep 7, 2008, 3:43:07 AM9/7/08
to Webvz: OpenVZ Web Management Tool
I would like to announce that webvz 2.0 is out
http://webvz.sourceforge.net/

Edward Tobia

unread,
Sep 7, 2008, 1:14:34 PM9/7/08
to Webvz: OpenVZ Web Management Tool
Not working on Debian Etch, after installing i get the error when
trying to log in:

Could not find table 'users'

/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
connection_adapters/sqlite3_adapter.rb:29:in `table_structure'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
core_ext/object/misc.rb:28:in `returning'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
connection_adapters/sqlite3_adapter.rb:28:in `table_structure'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
connection_adapters/sqlite_adapter.rb:189:in `columns'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:1145:in `columns'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:1158:in `column_names'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:1171:in `column_methods_hash'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:1714:in `all_attributes_exists?'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
inflector.rb:283:in `all?'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:1714:in `each'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:1714:in `all?'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:1714:in `all_attributes_exists?'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
base.rb:1613:in `method_missing'
app/models/user.rb:13:in `authunticate'
app/controllers/login_controller.rb:16:in `sign_in'


What could be causing this?

Regards,

Edward Tobia

Edward Tobia

unread,
Sep 7, 2008, 3:33:26 PM9/7/08
to Webvz: OpenVZ Web Management Tool
What are the exact installation instructions for WebVZ 2.0 on Debian
Etch?

I followed the instructions for WebVZ 1.5 on Debian Etch and changed
the settings to reflect the 2.0 version but this fails to work
correctly...

Regards,

Edward Tobia

On Sep 7, 8:43 am, Shuaib <shuaib.za...@gmail.com> wrote:

webvz...@gmail.com

unread,
Sep 8, 2008, 1:08:49 AM9/8/08
to Webvz: OpenVZ Web Management Tool
Dear

Thanks for using WebVZ.
I did not test webvz on Debian or ubuntu. However the tutorial
supposed to work fine.
Anyway, I had one user who faced this problem and he said the solution
was this

"Dear Shuaib,
In my opinion the problem was in this repository:

************************************
#deb http://ameba.sc-uni.ktu.lt/debian/ etch main non-free contrib
#deb-src http://ameba.sc-uni.ktu.lt/debian/ etch main non-free contrib

When i changed it in that repository, everything instaled ok.

************************************
deb http://ftp2.de.debian.org/debian/ etch main contrib non-free
deb-src http://ftp2.de.debian.org/debian/ etch main contrib non-free
"

Please try it and let me know for further assistance

Thanks

WebVZ Team

unread,
Sep 8, 2008, 1:21:30 AM9/8/08
to Allan Ember, am...@ggtt.biz, ardan ari tri wibowo, at...@mizera.cz, Brian Wildasinn, car...@gmail.com, Edward Tobia, EWDHosting. com, Ganesh Kumar, Ilya E Konovalenko, in...@quantact.com, Karoly Molnar, Michał Cygan, MiJa, Mike Jans, Raimundas, RedRack google, shuaib...@gmail.com, us...@openvz.org, webvz...@gmail.com, we...@googlegroups.com, yannc...@gmail.com, pshoe...@gmail.com, shu...@binarykarma.com, cris...@mundoserver.com, mitch...@gmail.com, in...@sigmos.de, pongrac...@gmail.com, pau...@gmail.com, adli....@gmail.com, jer...@vtdn.net, bbere...@consentry.com, fe...@kro.hn
Dear all

I would like to announce the release of WebVZ 2.0

Webvz is an open source control panel for OpenVZ.

Screenshots are available http://webvz.sourceforge.net/screenshots.html

to download http://webvz.sourceforge.net/download.html

Check the features on http://webvz.sourceforge.net/features.html

WebVZ is available on http://github.com/shuaibzahda/webvz/tree for developers

if you have any comment please send it to webvz...@gmail.com

--
Regards
Shuaib Zahda
WebVZ developer

WebVZ Home Page
http://webvz.sourceforge.net

WebVZ discussion group
http://groups.google.com/group/webvz?lnk=sg

Edward Tobia

unread,
Sep 8, 2008, 8:14:53 AM9/8/08
to Webvz: OpenVZ Web Management Tool
Can WebVZ be installed even after VPS's have been created manually via
SSH?

As once i couldnt get WebVZ working, i started to set them up manually
but now i want to give it another shot, but will WebVZ pick up the
VPS's that were set up via SSH?

Regards,

Edward Tobia

On Sep 8, 6:21 am, "WebVZ Team" <webvz.i...@gmail.com> wrote:
> Dear all
>
> I would like to announce the release of WebVZ 2.0
>
> Webvz is an open source control panel for OpenVZ.
>
> Screenshots are availablehttp://webvz.sourceforge.net/screenshots.html
>
> to downloadhttp://webvz.sourceforge.net/download.html
>
> Check the features onhttp://webvz.sourceforge.net/features.html
>
> WebVZ is available onhttp://github.com/shuaibzahda/webvz/treefor
> developers
>
> if you have any comment please send it to webvz.i...@gmail.com

Shuaib Zahda

unread,
Sep 8, 2008, 9:41:59 AM9/8/08
to we...@googlegroups.com

Dear

WebVZ runs on the host server itself. No matter how the containers are created, webvz is able to know them. At this version the container is assigned to no one. So you will see the under the owner a link called assign to owner which is an optional thing

Please let me know if you need further assistance

Shuaib

Edward Tobia

unread,
Sep 8, 2008, 9:56:46 AM9/8/08
to we...@googlegroups.com
Hello,

OK great im going to give it another go at installing on Debian Etch...

Do you have MSN or ICQ? As its easier to contact you there if i have any problems...

Regards,

Edward Tobia

2008/9/8 Shuaib Zahda <shuaib...@gmail.com>

Edward Tobia

unread,
Sep 8, 2008, 12:42:33 PM9/8/08
to we...@googlegroups.com
Hello,

I managed to fix the error i was having, seems like it was a bug in the sqlite3 adapter, i patched it and it now loads perfectly!

I have a final problem though.

When ever i try to edit/save any sort of file in WebVZ i get the following error:

No such file or directory - /etc/sysconfig/vz-scripts/ve-light.conf-sample

Thats just an example, but this happens with any file i try to edit in WebVZ...

I noticed that there is no /etc/sysconfig/vz-scripts/ folder in debian...but there is /etc/vz/conf  where all the config files are contained....

I guess i could fix this by symlinking the contents within /etc/vz/conf to /etc/sysconfig/vz-scripts right?

How could i symlink it so that only the files within the folder are symlinked? and not the whole folder itself?

Regards,

Edward Tobia

2008/9/8 Edward Tobia <edwar...@gmail.com>

Edward Tobia

unread,
Sep 8, 2008, 1:20:14 PM9/8/08
to Webvz: OpenVZ Web Management Tool
Hello,

Everything is now fixed and everything is working great!

The problem i encountered was due to a bug in the sqlite3 adapter in
one of the gem modules, i edited the sqlite3 adapter which got rid of
the error message regarding tables being missing, and everything
started working, then i encountered a bug in which i could not edit/
save any files within WebVZ due to the paths being different between
Debian Etch and CentOS (would say there is no such file/directory), so
i created the symlink as follows which fixed EVERYTHING:

ln -s /etc/vz/conf /etc/sysconfig/vz-scripts

That will enable you to edit/save all files using WebVZ in Debian
Etch!

If anyone else has the problem with the sqlite3 adapter/missing tables
contact me and i will provide you with the fixed sqlite3 adapter!

Regards,

Edward Tobia

On Sep 8, 2:56 pm, "Edward Tobia" <edwardto...@gmail.com> wrote:
> Hello,
>
> OK great im going to give it another go at installing on Debian Etch...
>
> Do you have MSN or ICQ? As its easier to contact you there if i have any
> problems...
>
> Regards,
>
> Edward Tobia
>
> 2008/9/8 Shuaib Zahda <shuaib.za...@gmail.com>
>
>
>
> > Dear
>
> > WebVZ runs on the host server itself. No matter how the containers are
> > created, webvz is able to know them. At this version the container is
> > assigned to no one. So you will see the under the owner a link called assign
> > to owner which is an optional thing
>
> > Please let me know if you need further assistance
>
> > Shuaib
>

Edward Tobia

unread,
Sep 8, 2008, 9:39:20 PM9/8/08
to Webvz: OpenVZ Web Management Tool
Yep so everything is now working perfectly on my Debian Etch system!

I really like WebVZ, its a great control panel and easy to use, i
really hope that you continue working on WebVZ and provide us with
regular updates/additions as im going to use it on all of my OpenVZ
dedicated servers and im also going to recommend it to everyone.

Also you can be sure to receive some donations from me in the near
future, to keep your interest in developing WebVZ as its such a great
panel!

Keep up the good work!

Regards,

Edward Tobia

Shuaib Zahda

unread,
Sep 8, 2008, 11:29:12 PM9/8/08
to we...@googlegroups.com
Dear Edward

I am glad that you managed to run WebVZ and you liked it.

in fact there is an article http://www.howtoforge.com/managing-openvz-with-webvz-on-debian-etch

on how to run it on debian
it will be great to write one on the fixes you have and I will post it on webvz website

Thanks for using webvz

Best regards
Shuaib Zahda

Edward Tobia

unread,
Sep 9, 2008, 10:24:27 AM9/9/08
to Webvz: OpenVZ Web Management Tool
Hello,

I have created an updated document for installation of WebVZ 2.0 on a
Debian Etch machine.

Here is the link, would be great if you can post it on the main WebVZ
website:

http://www.eurosrv.com/webvz.2.0-deb-etch-install.doc

Please let me know once you have placed this on the main website, also
on the website feel free to make a note to users that if they have any
problems or the instructions need updating, to contact me
(edwar...@gmail.com).

Thanks and keep up the good work.

Regards,

Edward Tobia

On Sep 9, 4:29 am, "Shuaib Zahda" <shuaib.za...@gmail.com> wrote:
> Dear Edward
>
> I am glad that you managed to run WebVZ and you liked it.
>
> in fact there is an articlehttp://www.howtoforge.com/managing-openvz-with-webvz-on-debian-etch
>
> on how to run it on debian
> it will be great to write one on the fixes you have and I will post it on
> webvz website
>
> Thanks for using webvz
>
> Best regards
> Shuaib Zahda
>

WebVZ Team

unread,
Sep 9, 2008, 9:37:54 PM9/9/08
to we...@googlegroups.com
Hello

Thank you very much for the tutorial. It is really great

I have added it to
http://www.scribd.com/doc/5707559/install-webvz-2-0-on-debian-etch-to-manage-openvz
http://digg.com/linux_unix/install_webvz_2_0_on_debian_etch_to_manage_openvz

and I posted it on howtoforge and I am waiting their approval

I will post the howtoforge link on my website once it is approved

Thanks

Edward Tobia

unread,
Sep 10, 2008, 7:10:32 PM9/10/08
to Webvz: OpenVZ Web Management Tool
Great, glad to see your making use of the document!

Also i would like to make a feature recommendation not sure if its
already there or not but i have not spotted it...

Could you make some sort of bandwidth limiter for each VPS? and maybe
a small page which displays how much bandwidth each VPS is using?

Regards,

Edward Tobia

On Sep 10, 2:37 am, "WebVZ Team" <webvz.i...@gmail.com> wrote:
> Hello
>
> Thank you very much for the tutorial. It is really great
>
> I have added it tohttp://www.scribd.com/doc/5707559/install-webvz-2-0-on-debian-etch-to...http://digg.com/linux_unix/install_webvz_2_0_on_debian_etch_to_manage...
>
> and I posted it on howtoforge and I am waiting their approval
>
> I will post the howtoforge link on my website once it is approved
>
> Thanks
>
>
>
> On Tue, Sep 9, 2008 at 10:24 PM, Edward Tobia <edwardto...@gmail.com> wrote:
>
> > Hello,
>
> > I have created an updated document for installation of WebVZ 2.0 on a
> > Debian Etch machine.
>
> > Here is the link, would be great if you can post it on the main WebVZ
> > website:
>
> >http://www.eurosrv.com/webvz.2.0-deb-etch-install.doc
>
> > Please let me know once you have placed this on the main website, also
> > on the website feel free to make a note to users that if they have any
> > problems or the instructions need updating, to contact me
> > (edwardto...@gmail.com).

Shuaib Zahda

unread,
Sep 10, 2008, 11:39:49 PM9/10/08
to we...@googlegroups.com
Hi

the bandwidth feature is not there. I will consider it in the next release.

Thanks

Edward Tobia

unread,
Sep 15, 2008, 2:37:56 PM9/15/08
to Webvz: OpenVZ Web Management Tool
OK i hope the bandwidth feature appears in the next release!

Also how about a feature to change where the location that newly
created VM's will be stored?

HyperVM has an option to do this, and its extremely helpful for people
who have multiple drives and wish to store VM's on multiple drives
(like me)...

Let me know what you think!

Regards,

Edward Tobia

On Sep 11, 4:39 am, "Shuaib Zahda" <shuaib.za...@gmail.com> wrote:
> Hi
>
> the bandwidth feature is not there. I will consider it in the next release.
>
> Thanks
>
> On Thu, Sep 11, 2008 at 7:10 AM, Edward Tobia <edwardto...@gmail.com> wrote:
>
> > Great, glad to see your making use of the document!
>
> > Also i would like to make a feature recommendation not sure if its
> > already there or not but i have not spotted it...
>
> > Could you make some sort of bandwidth limiter for each VPS? and maybe
> > a small page which displays how much bandwidth each VPS is using?
>
> > Regards,
>
> > Edward Tobia
>
> > On Sep 10, 2:37 am, "WebVZ Team" <webvz.i...@gmail.com> wrote:
> > > Hello
>
> > > Thank you very much for the tutorial. It is really great
>
> > > I have added it tohttp://
> >www.scribd.com/doc/5707559/install-webvz-2-0-on-debian-etch-to...http....
> > ..

Shuaib Zahda

unread,
Sep 15, 2008, 10:56:00 PM9/15/08
to we...@googlegroups.com
Hi

Thanks for the storage feature. I will also consider it.

Looking forwards to hearing from you your reqirements since I do not have a hosting company. I am not pretty sure about all of the features.

Regaeds

Gabor

unread,
Oct 29, 2008, 5:32:01 AM10/29/08
to Webvz: OpenVZ Web Management Tool
> Looking forwards to hearing from you your requirements since I do not have a
> hosting company. I am not pretty sure about all of the features.

Hi,
I've been using WebVZ for a month now, and I'm really happy with it
(Ruby did give me a little trouble at install, but nothing major). I
would just like to add my wishes to the list for next release:

- Some way to talk to Nagios, I'm watching the individual containers,
but I would like to get alerts when one bumps a beancounter.
- On the main container list page a visual container status (red for
failcnt incremented since $short_time, yellow for $long_time, green
otherwise, for me $short_time=1day, $long_time=7days, but it should be
configurable).
- More compact container list page (you could gather start/stop,
restart, migrate, create backup and Change Owner into a drop-down menu
at the end of the row) - I have several dozen containers and I have to
keep scrolling around :)

Thanks for a great tool, regards
Gabor

Gabor

unread,
Oct 29, 2008, 10:10:31 AM10/29/08
to Webvz: OpenVZ Web Management Tool
On Oct 29, 10:32 am, Gabor <glas...@gmail.com> wrote:
> > Looking forwards to hearing from you your requirements since I do not have a
> > hosting company. I am not pretty sure about all of the features.
>
> - On the main container list page a visual container status (red for
> failcnt incremented since $short_time, yellow for $long_time, green
> otherwise, for me $short_time=1day, $long_time=7days, but it should be
> configurable).
> - More compact container list page (you could gather start/stop,
> restart, migrate, create backup and Change Owner into a drop-down menu
> at the end of the row) - I have several dozen containers and I have to
> keep scrolling around :)
So call me impatient, I messed around with the app/views/container/
list_vps.rhtml a little, here is my version (the icons are 24x24):

<%= render :partial => 'links' %>
<h3> You have <%= pluralize(@rows.size, "#{@status} container") %> </
h3>

<table>
<th> Distro</th> <th> Cnt ID </th> <th> Name </th> <th> No. Ps </th>
<th> Status </th> <th> IP Address </th> <th> Hostname </th> <th> Owner
</th>
<% i = 1 %>
<% z = 0 %>
<% for row in @rows -%>
<% i = 1 -i%>
<tr id="<%= "color"+i.to_s %>">
<td> <%= link_to image_tag("icons/"+row[5].downcase+".png", :border
=> 0) , :controller => :inside_vps, :action => :view_vps, :vps_id =>
row[0] unless row[5].blank? %> </td>
<td> <%=link_to row[0],:controller => :inside_vps, :action
=> :view_vps, :vps_id => row[0]%> </td>
<td> <%= @names[z] %> <% z = z + 1 %> </td>
<td> <%=link_to row[1],:controller => :inside_vps, :action
=> :running_processes, :vps_id =>row[0]%> </td>
<td>
<% if row[2].include?("running") %>
<%= link_to image_tag("stop.png", :alt => "stop", :border =>
"0"), :action => :stop_vps, :vps_id => row[0] %>&nbsp;
<%= link_to image_tag("restart.png", :alt => "restart", :border =>
"0") , :action => :restart_vps, :vps_id => row[0] %>
<% else %>
<%= link_to image_tag("start.png", :alt => "start", :border =>
"0"), :action => :start_vps, :vps_id => row[0] %>
<% if session[:permission] == "admin" %>
&nbsp;<%= link_to image_tag("destroy.png", :alt =>
"destroy", :border => "0"), {:action => :destroy_vps, :vps_id =>
row[0]}, :confirm => "Are you sure?", :method => :post %>
<% end %>
<% end %>
</td>
<td> <%=row[3]%> </td>
<td> <%=row[4]%> </td>
<td>
<% vps = Vps.find_by_cnt_id(row[0]) %>
<% if vps %>
<%= link_to vps.user.name, :action => :vpses_of_user, :user_id =>
vps.user.id %>
<% else %>
<%= link_to "Assign to Owner", :action
=> :assign_to_owner, :vps_id =>row[0] %>
<% end %>
</td>
<td>
<% if session[:permission] == "admin" %>
<%= link_to image_tag("migrate.png", :alt => "migrate", :border =>
"0"), :action => :migrate_vps, :vps_id => row[0] %>&nbsp;
<%= link_to image_tag("backup.png", :alt => "backup", :border =>
"0"), :action => :create_backup, :vps_id => row[0] %>&nbsp;
<% end %>
<%= link_to image_tag("owner.png", :alt => "Change Owner", :border
=> "0"), :action => :assign_to_owner, :vps_id =>row[0] %>
</td></tr>
<% end -%>
</table>

Regards
Gabor

Shuaib Zahda

unread,
Oct 30, 2008, 12:17:00 AM10/30/08
to we...@googlegroups.com
Hi

Thanks a lot for the contribution. I will consider your suggestions and contribution in the next release. In fact I received several features wanted by the user. I will try my best to include all of them

Thanks

Gabor

unread,
Nov 10, 2008, 9:24:42 AM11/10/08
to Webvz: OpenVZ Web Management Tool
Here's another little tweak in app/views/layouts/application.html.erb
(just the diff). It replaces the yellow Notice div with a JS alert.
# diff application.html.erb application.html.erb.bak
4d3
< <meta http-equiv="Content-Script-Type" content="text/javascript">
6c5
< <body<% if flash[:notice] %> onLoad="alert ('Notice:\n\n<%=
flash[:notice].gsub("\n", "\\n") %>'); return false;"<% end -%>>
---
> <body>
14a14,20
> <% if flash[:notice] %>
> <div id="notice">
> <p> <b> Notice </b> </p>
> <p><%= flash[:notice].gsub("\n", "<br />") %> <p>
> </div>
> <% end -%>
>
Reply all
Reply to author
Forward
0 new messages