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.


Messages - danny

Pages: [1]
1
CentOS-WebPanel Bugs / Update/add Package does not work
« on: January 10, 2023, 10:51:27 AM »
When I try and add or update a package the panel simply says "Error Something went wrong"

Looking at the console there is an AJAX request with the following returned

Code: [Select]
UPDATE packages SET package_name='default', disk_quota='10000',bandwidth='100000',ftp_accounts='10',email_accounts='10',email_lists='10',`databases`='10',sub_domains='10',parked_domains='10',addons_domains='10',hourly_emails='200' ,cgroups='undefined' ,nproc='40' ,apache_nproc='40' ,inode='0' ,reseller='',accounts='',nofile='150',nodejs_apps=0 WHERE id=10
I assume from this, the query is
Code: [Select]
UPDATE packages SET package_name='default', disk_quota='10000',bandwidth='100000',ftp_accounts='10',email_accounts='10',email_lists='10',`databases`='10',sub_domains='10',parked_domains='10',addons_domains='10',hourly_emails='200' ,cgroups='undefined' ,nproc='40' ,apache_nproc='40' ,inode='0' ,reseller='',accounts='',nofile='150',nodejs_apps=0 WHERE id=1
and the
Code: [Select]
0 is rows affected.

Looking at the SQL table, there is no column called
Code: [Select]
nodejs_apps, so this fails.

This needs to work as I had a client today with downtime as I couldn't update the bandwidth allowance.

2
Actually I finally received a response that pointed me in the right direction, I had tried the solution before but to no avail, but this time I added some other actions and now it finally works - thanks for all responses...

How did you get this to work please? I also have managed to install the Letsencrypt certificate for the CWP on port 2031 - but going to https://myip:2031 is still picking up the self-signed certificate.

Pages: [1]