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 - DangerD2

Pages: [1]
CentOS 7 Problems / Migration CWP -> CWP doesn't work...
« on: March 05, 2023, 07:49:16 PM »
I'm receving error thap api key doesn't have something enabled (used CWP-CWP button to enable needed permissions) but that failed. so i decided to enable everything, but unfortunatelly that didn't worked also...

any ideas?

Migrating from to cwp7

CentOS-WebPanel Bugs / File upload limit
« on: March 02, 2023, 09:10:38 AM »
Upload is limited to 128Mb

Code: [Select]
sh /scripts/php_big_file_upload 512 all
New Configuration:
upload_max_filesize = 512M
post_max_size = 517M
memory_limit = 536M
max_input_time = 300
max_execution_time = 300
Editing File: /opt/alt/php74/usr/php/php.ini
Editing File: /opt/alt/php-fpm56/usr/php/php.ini
Editing File: /opt/alt/php-fpm74/usr/php/php.ini
Editing File: /usr/local/php/php.ini

Editing File: /usr/local/cwp/php71/php.ini
Editing File: /usr/local/cwpsrv/conf/cwpsrv.conf
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart cwpsrv-phpfpm.service

Editing File: /etc/nginx/nginx.conf
Redirecting to /bin/systemctl restart nginx.service

Editing File: /usr/local/apache/conf/httpd.conf
Redirecting to /bin/systemctl restart httpd.service

Trying to upload 129MB:

Code: [Select]
Request Entity Too Large
The requested resource does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

Where also limit can be?

Well known problem, so i wan't to update files manually:
Code: [Select]
cd /usr/local/cwpsrv/htdocs

unzip -o
rm -f

But i have permission error...
Code: [Select]
[root@server]# rm -f /usr/local/cwpsrv/htdocs/admin/index.php
rm: cannot remove `/usr/local/cwpsrv/htdocs/admin/index.php': Operation not permitted

Any ideas?

CentOS 7 Problems / CWP is not starting 500 error
« on: July 21, 2022, 11:44:05 AM »
Code: [Select]
a[root@server scripts]# ./update_cwp
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
 in Unknown on line 0

CWP is paid (PRO)

Centos 6

I'm moving my website to another server and i don't want to have downtime while updating certificate.
Can i generate Letsencrypt certificate for domain for both ip addresses (for old and new server)?

Backup / How to restore website.tar.gz?
« on: June 28, 2021, 10:54:13 PM »
How to restore created before backup of user?
I have website.tar.gz from old server (it was reinstalled), how can i restore it?

PHP Selector / PHP-FPM Selector php 5.6 issue
« on: October 24, 2020, 08:27:05 AM »
Some of websites are using old php 5.6

Code: [Select]
Starting php-fpm [24-Oct-2020 11:19:52] ERROR: An another FPM instance seems to already listen on /opt/alt/php-fpm56/usr/var/sockets/cwpsvc.sock
[24-Oct-2020 11:19:52] ERROR: FPM initialization failed

And php error in log :
Code: [Select]
PHP Fatal error:  Call to undefined function mysql_connect() in ...
Any suggestions? It worked before well and stopped after server reboot..

CentOS 6 Problems / Centos webpanel HTTP 500 Error
« on: June 14, 2020, 12:14:14 PM »
Recently it stopped to work, ioncube version error, after updating with yum update ioncube started to work and now i'm receiving HTTP 500 error while trying to open webpanel...

Where i can see error log?

Nginx / Nginx & Varnish & Apache + php-fpm - Increase timeout (How to?)
« on: November 09, 2019, 09:05:23 AM »
Trying to increase php script time more than 1 minute:

proxy_connect_timeout 240s;
proxy_send_timeout 600;
proxy_read_timeout 600;

max_execution_time 300
default_socket_timeout 600

But i'm keep receiving 504 Gateway timeout...
What extra setting i should change?

Pages: [1]