Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - kbro

Pages: [1]
1
How to / How to change database size quota?
« on: October 22, 2023, 09:24:28 AM »
In the dashboard for a user account the "Disk Space Usage" section in the navigation panel on the left shows an overall "Usage" figure and then separate amounts for "Home directory", "Email Accounts", "Databases" and Backup".

I wanted to give the user more database space so I logged in as admin, went to Packages, edited the user's package (which happens to be "default"), updated "Disk Quota MB", ticked "Update Quota" and clicked the update button.

Going back to the user's dashboard, and refreshing the page, the "Disk Space Usage" section now shows the increased quota in the umbrella figure, but the individual items are still reporting the original amount.  How do I increase these lower-level quotas?

Many thanks

2
Installation / CentOS migration plan for 2024?
« on: March 05, 2023, 12:11:47 AM »
I'm currently running CWP Pro on CentOS 7 as recommended by https://control-webpanel.com/installation-instructions#step2.  I'm going to be building a new server later this year with a go-live date of April 2024, so what OS can I expect to be using then?  CentOS 7 goes EOL at the end of June 2024 and CentOS 8 Stream expires a month before that.

I'd be tempted to go for Rocky 8 which EOLs at the end of May 2029 but the installation guide says "Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7".  Same caveat for Alma 8 and Oracle 8.  Thanks.

3
My server is currently 192.168.0.202 on my LAN, with my gateway router doing a bunch of port forwards to map my public IP address to the private one.  This has been working very happily for years.  But now I want to move the server to a different LAN segment and give it address 192.168.1.202, so I edited /etc/sysconfig/network-scripts/ifcfg-p7p1, changed the IPADDR and GATEWAY settings and did ifdown p7p1; ifup p7p1.  All good, I could ssh to the server on the new address and access the CWP console through https://192.168.1.202:2031.  BUT ... none of my hosted domain web servers were accessible.

Digging around in the Dashboard, I went to the Navigation panel on the left and selected Webserver Settings > Webservers Conf Editor and selected /usr/local/apache/conf.d/vhosts and had a look at a few.  The all began "<VirtualHost 192.168.0.202:80>" (okay, the HTTPS ones had port 443).

Digging some more, Webserver Settings > Webservers Template Editor > Httpd has default.tpl and default.stpl which begin "<VirtualHost %ip%:%apache_port%>".  This looked promising - the IP address was picked up from a template generator variable.

Going into Webserver Settings > Webservers Main Conf, at the bottom of the page is a checkbox "Rebuild all vhosts on save" so I checked that and clicked Save Changes.  The timestamp on all my vhost config files changed so I guess something happened, but they still contained the old address.

Going back to the Dashboard, the CWP Info panel shows "Your IP: 192.168.1.202" so it definitely knows what the address is.

So what do I need to do to change the address properly and get CWP to autogenerate the vhost config files with the new address?  And are there other files that I didn't find?

Thanks for your help

4
I'm using CWPpro version 0.9.8.312 pretty much out of the box.  I installed the regular version on a VPS last week the paid for the Pro update, and this is what I got.

The problem I had is that cgi-bin scripts weren't working on any of my hosted domains.  I checked the vhosts.conf and the ScriptAlias directives were there (okay, the path was missing a closing quote but that didn't matter and anyway has already been reported), but I kept getting the contents of my script files served rather than the output from executing them.

After entirely too long reading around about the ScriptAlias directive I thought to check for mod_cgi, and it wasn't loaded.  The fix was to edit httpd.conf and uncomment
Code: [Select]
LoadModule cgid_module modules/mod_cgid.so
After restarting the Apache server, CGI scripts started to work.

5
Installation / How to set up SSL for admin dashboard?
« on: April 18, 2017, 03:59:53 AM »
I've just installed Web Panel for the very first time - very straightforward, thanks!  I'm bothered that the admin dashboard is at http://my-server:2030/ - I'd like it to be https://my-server:2030/ instead.  Obviously I need to acquire and install an SSL certificate, but the only instructions I can find about that appear to relate to the hosted sites, not the dashboard itself.  Can someone please point a total noob in the right direction?  Thanks.

Pages: [1]