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.
271
CWP API / Re: List Email from Domain.
« on: March 09, 2022, 12:40:26 AM »
The domain can only be tied to one username. And the API only lists email accounts from a selected account. If you have multiple domains on one account, you can filter it after it is returned.
273
PHP / Re: Update issue
« on: March 07, 2022, 06:19:08 AM »
Issue Resolved. Binary had wrong permissions.
274
PHP / Re: Update issue
« on: March 07, 2022, 05:28:00 AM »
the polkit error isn't of concern. see if the sockets exist now. If not, use systemctl status php-fpm73 to see any errors
275
PHP / Re: Update issue
« on: March 07, 2022, 05:17:45 AM »
There are no socket files, because that version of php-fpm is not running. Start it with
systemctl start php-fpm73.service
systemctl start php-fpm73.service
276
PHP / Re: Update issue
« on: March 07, 2022, 04:31:29 AM »
That should be fine, because there should be a socket file in php-fpm73. Ideally, you should not be using the cwpsrv php-fpm, but the client version in /opt/alt/php*
277
PHP / Re: Update issue
« on: March 07, 2022, 01:59:24 AM »
Check the box "Rebuild this domain", and hit save. If it does not change the php-fpm version, then you have hardcoded the PHP version in the template file, and that would need to be undone.
278
Softaculous / Re: How to enable Fantsctico F3 panel
« on: March 04, 2022, 03:32:44 AM »Hi, in the CWP admin panel I don't see any tools to manage Fantsctico F3, but in the user panel I see it's available in the Script Installers section.
When clicking on it it shows error:QuoteYou are not authorized to use this module (fantastico_f3)- Contact Server AdminCould you please let me know how to enable it?
Fantsctico F3 is not a free software. You must purchase it from them, and install it. Details are here: https://netenberg.com/fantastico-installation.html
279
SSL / Re: how to use SSL on shoutcast ports?
« on: March 03, 2022, 08:41:26 PM »
Use Nginx as a proxy:
Apache can also act as a proxy with mod_proxy, but I've never set it up. https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
Code: [Select]
server {
listen <sh ip>:<a port for ssl> ssl;
server_name <radio.yoururl>
ssl_certificate <certificate file>;
ssl_certificate_key <certificate key>;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://<sh_ip>:<sh_port>;
}
}
Apache can also act as a proxy with mod_proxy, but I've never set it up. https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
280
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 03, 2022, 03:36:48 AM »
you can safely ignore the polkit error. It's not what's causing your issue.
As to the issue. the cwp-phpfpm is mean for the backend, but if it's working with nginx, I guess you can use it. The frontend servers are supposed to use the php-fpm's installed in /opt/alt
if the socket files are disappearing, then it sounds like those versions are crashing for some reason, and it would need to be investigated further.
As to the issue. the cwp-phpfpm is mean for the backend, but if it's working with nginx, I guess you can use it. The frontend servers are supposed to use the php-fpm's installed in /opt/alt
if the socket files are disappearing, then it sounds like those versions are crashing for some reason, and it would need to be investigated further.
281
CentOS 7 Problems / Re: Problems after last update
« on: March 03, 2022, 03:30:52 AM »
does the file /usr/local/cwpsrv/var/services/users/cwp_theme/original/index.html exist in your installation?
282
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 03, 2022, 02:54:00 AM »
please check
/usr/local/cwp/php71/etc/php-fpm.d/users/djflakfl.conf
make sure that the following are set:
if any are not set correctly, please correct them, and restart cwpphp via
systemctl restart cwpsrv-phpfpm.service
*** Temporarily, you can " chmod 660 /usr/local/cwp/php71/var/sockets/djflakfl.sock "
/usr/local/cwp/php71/etc/php-fpm.d/users/djflakfl.conf
make sure that the following are set:
Code: [Select]
listen.group = "djflakfl"
listen.mode = 0660
user = "djflakfl"
group = "djflakfl"
if any are not set correctly, please correct them, and restart cwpphp via
systemctl restart cwpsrv-phpfpm.service
*** Temporarily, you can " chmod 660 /usr/local/cwp/php71/var/sockets/djflakfl.sock "
283
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 03, 2022, 12:46:20 AM »*20 connect() to unix:/usr/local/cwp/php71/var/sockets/djflakf1.sock failed (13: Permission denied) while connecting to upstream, client: 185.191.171.39,
please post the output from:
ls -al /usr/local/cwp/php71/var/sockets/*
284
CentOS 7 Problems / Re: can not set cron job
« on: March 03, 2022, 12:21:33 AM »
try
/opt/alt/php-fpm74/usr/bin/php /home/ctt/public_html/admin/cli/cron.php
as your really want your cron to run on the same php version as your website.
/opt/alt/php-fpm74/usr/bin/php /home/ctt/public_html/admin/cli/cron.php
as your really want your cron to run on the same php version as your website.
285
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 02, 2022, 09:17:04 PM »
question: is the php-fpm73 service running??
systemctl status php-fpm73.service
if it is not running, start it
systemctl start php-fpm73.service
systemctl status php-fpm73.service
if it is not running, start it
systemctl start php-fpm73.service