Author Topic: Update/add Package does not work  (Read 1133 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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.