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

Pages: 1 ... 41 42 [43] 44 45 ... 57
631
PHP / Re: CWP7.Pro Error | Unable to Login Admin Panel
« on: April 26, 2020, 02:51:59 PM »
Should be ok.  Just means those files didn't have +i set on them

632
Backup / Re: My server doesn't make backups anymore
« on: April 26, 2020, 01:29:12 PM »
I guess I spoke too soon. Friday didn't run.   Apparently the new backup can't get a list of accounts to backup, as that's where it's stuck...

633
Backup / Re: My server doesn't make backups anymore
« on: April 26, 2020, 01:10:53 PM »
Try starting the backup, and run tail -f /var/log/cwp/cron_backup.log

634
Backup / Re: My server doesn't make backups anymore
« on: April 26, 2020, 01:05:29 PM »
The problem is not in cron.
I have the same mistake.

Understood.  Was making sure you didn't have an old version of the script encoded in ioncube5 still residing on the server, and couldn't be run by 7.2.  There's been quite a few people who's updates failed and old php files reside on their server after the update to 926.

As I said, I"m on .926 running 7.2, and everything is working perfectly fine for me that I notice.  So need to "Troubleshoot" what's going on so they can issue a patch.

635
PHP / Re: CWP7.Pro Error | Unable to Login Admin Panel
« on: April 26, 2020, 12:31:30 PM »
This is the standard response to your issue.   Your Update failed at some point, and some files were not updated.  YOu need to do the manual file update for your CentOS and the services...
Code: [Select]
Hello,

Test what is the cwp PHP version and if it is updated to 7.2

/usr/local/cwp/php71/bin/php -v
PHP 7.2.30

if PHP was not updated to 7.2 then try manually
yum update cwpphp --enablerepo=cwp

**Manual update CentOS 7 (ignore if you have CentOS 6)**
```
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.961.zip
unzip -o -q cwp-el7-0.9.8.961.zip
rm -f cwp-el7-0.9.8.961.zip
```

**Manual update CentOS 6 (ignore if you have CentOS 7)**
```
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.765.zip
unzip -o cwp2-0.9.8.765.zip
rm -f cwp2-0.9.8.765.zip
```


**Manual update for services (This steep must be done for CentOS 6 and 7)**
```
cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip
```

Test if all is ok, it should run update without errors
```
sh /scripts/update_cwp
```

If you get error like:
> Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320170718,NTS

then run this:

```
sed -i "s/ioncube_loader_lin_7.0/ioncube_loader_lin_7.2/g" /usr/local/cwp/php71/php.ini
sh /scripts/restart_cwpsrv

636
Backup / Re: My server doesn't make backups anymore
« on: April 26, 2020, 12:27:47 PM »
That's a new one lol.  Definately open a ticket on that one :)

Thought thinking about it. Try deleteing the schedule in CWP and recreating it, and see if it fixes the issue.

637
PHP / Re: CWP7.Pro Error | Unable to Login Admin Panel
« on: April 26, 2020, 12:18:30 PM »
This may be the solution if you made changes to the phpfpm configuration.   Unlinke regular PHP, FPM has to be restarted after changes are made.  Hence why I said try it.

If you want to tell me I'm wrong without attempting what I'm asking, then I wish you luck getting it fixed. 

With that said, have you tried restarting the services.  If Yes, we move on.  If No, then I'll save my time for someone who want's help.

638
PHP / Re: PHP.INI - to manage user or / and folder level?
« on: April 26, 2020, 12:10:08 PM »
.user.ini files is a configurable option of PHP.  It can be turned on/off via the main php.ini file for your specific version your using.

https://www.php.net/manual/en/configuration.file.per-user.php

639
Backup / Re: My server doesn't make backups anymore
« on: April 26, 2020, 12:05:26 PM »
Troubleshooting Steps:
Log in via SSH as root
crontab -l
(You Should see "/usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/{Whichever backup}")

test by removing the "-q" from the command.  (EX of new backup)
/usr/local/cwp/php71/bin/php-cgi -d max_execution_time=10000000  /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

If you don't receive any errors, then it should be working.  IF your recieve an error about ioncube, there are at least 10 topics on the forum about how to fix that issue recently.  It involves manually updating your cwp files, as something failed in the last update.

640
PHP / Re: CWP7.Pro Error | Unable to Login Admin Panel
« on: April 26, 2020, 12:00:46 PM »
try
systemctl restart cwpsrv-phpfpm
systemctl restart cwp-phpfpm

641
CentOS 7 Problems / Re: php ini not changing
« on: April 26, 2020, 02:11:57 AM »
Glad you got it working.

I just finally got my test enviro to work, and modifying /usr/local/php/php.ini worked for me, so somethings odd with yours.

642
CentOS 7 Problems / Re: php ini not changing
« on: April 26, 2020, 01:34:42 AM »
possibly /etc/php.ini

to find all instances of php.ini, you would use " locate php.ini "

643
CentOS 7 Problems / Re: php ini not changing
« on: April 26, 2020, 12:33:47 AM »
cd /usr/local/php/php.d
grep upload *

644
CentOS 7 Problems / Re: php ini not changing
« on: April 26, 2020, 12:15:49 AM »
More information is needed to answer that question.

What setup do you have?  (APache Only, NGINX+APACHE, ETC)
CWP Pro?  If Yes, PHP FPM enabled


To try to help:

php-fpm has user files
EX: php-fpm73
/opt/alt/php-fpm73/usr/etc/php-fpm.d/users/user.conf

you can define any php variable here. EX
php_admin_value[post_max_size] = 20M
php_admin_value[upload_max_filesize] = 20M

systemctl restart php-fpm73  after editing

-----------------------------------------
Non fpm version, you'll have to look at phpinfo() to find the correct php.ini to modify.

It's alwasy best to restart all servers after making modifications.

645
Nginx / Re: 504 Gateway Time-out nginx/1.18.0
« on: April 25, 2020, 09:42:47 PM »
make sure all of the services are running, and ports are configured appropriately

systemctl status nginx
systemctl status php-fpm
systemctl status httpd
//Below are possibly used/notused//   " systemctl " by itself will list all services
systemctl status php72-php-fpm << If that's what the user account is setup to use

Pages: 1 ... 41 42 [43] 44 45 ... 57