CyberPanel support for Ubuntu 22

Hi,

IF: you experience the problem:

“Create Email List does not work in Cyberpanel”

It gives you the result;

cat: /home/cyberpanel/9896: No such file or directory

… and is stuck showing the spinning two balls at the line: create email list. Also: the Go-Back button does not respond/do-anything
… when trying again (for example after a new login to cyberpanel); the number is always different

THEN: you need to check the following file: emailMarketingManager.py

Which for example in Ubuntu22 can be found in folder:

/usr/local/CyberCP/emailMarketing/

In the file: emailMarketingManager.py

You need to change/edit the two following lines: (Usually at lines 144 and 145)

line 144: # em = EM(‘createEmailList’, extraArgs)
line 145: # em.start()

…to become as this:

line 144: em = EM(‘createEmailList’, extraArgs)
line 145: em.start()

Saying this thing in an other way: the lines need to be uncommented. The # makes anything after it a comment, so that is why you need to remove it in these lines.