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

Pages: 1 ... 3 4 [5] 6 7 ... 25
61
Any way to run this command every hour for example?
Because my websites are blank every day and some times 2 times for day

Surely.
But the problem is supposed to be solved, with that command, after 'update_cwp' command.
So, must be issued three commands, as root user:
Code: [Select]
# /scripts/update_cwp
# rm -f /usr/local/cwp/users/suspended/*.bandwidth
# /scripts/cwp_api webservers rebuild_all

The new and updated version of CWP is supposed to solve the problem.
If you have problems in the execution of these commands, may be you need to update Ioncube loader:
Code: [Select]
# /scripts/update_ioncube

To put the commands after daily update, you can add he commands to the file '/etc/cron.daily/cwp'.
To run hourly, put the cwp file above in '/etc/cron.hourly/'.

62
(...)
But what "worries" me is that one day a new change to the templates (in my case apache) will enter and since I am using a custom one, I may not be aware of this possible new change.

Be that as it may, I understand the people who comment on it, this did not happen before, for months, years and so on, now, every day the daily automatic script rebuilds and we lose all the changes made.

If you apply the template to any domain in "Webservers Conf Domain", the future changes in templates will not affect your customization.

Quote
Greetings and happy new year.

Regards, and happy new year!

63
Updates / Re: New update broke http conf files and php fpm
« on: January 01, 2022, 01:45:00 AM »
stil same problem. not working :(

No error messages?
I can't guess what happen in your server without error messages.

Any error log messages?

After /scripts/update_cwp' command, you *must* to run:
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

64
Postfix / Re: Mail server problems
« on: January 01, 2022, 12:50:37 AM »
I also have same issue some Password query failed: Unknown column 'token_validity' in 'field list' in dovecot log started after updates.

Seems you have a problem in dovecot-mysql configuration.
Check your file: /etc/dovecot/dovecot-mysql.conf and check if all fields pointed in this file are present in your postfix database (a mysql database).

65
You may have had your sites up and running for months with a custom setup, because in no time did you have to rebuild your sites. When you do that, it changes *all* the site settings in apache, and if you made any changes there, you lose them all.

To avoid this, you should configure additional files in the 'conf.d' directories, either from apache or nginx. So when these changes take place, they won't affect the settings in apache/nginx.

If this is not possible, you should make changes to the apache or nginx templates, and apply the template to the respective site. To change the template, as it will also be overwritten by future changes, you must create new template files in their respective directories, and apply the template to the site configuration under "Webservers Domain Config".

66
CentOS-WebPanel Bugs / Re: Error in Conf files after update!
« on: December 31, 2021, 04:20:46 AM »
New update has arrived.

but my Varnish default.vcl file is back to original.

The files under /opt/alt/php-fpm74/usr/etc/php-fpm.d/users/ became the default.

Files in nginx/vhost return default.

Are we going to deal with these in every update? Is there any way to prevent this?

As reported by CWP team, the solutions is just:
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all
The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

NOTE: if you customize your webserver configuration, you *must* customize too the webserver templates in "/usr/local/cwpsrv/htdocs/resources/conf/web_servers/", otherwise, they will always be overwritten when CWP is updated.
(check there your webservers files used)

The templates are *always* overwritten when CWP is updated too. So, you *must* to create additional files in that directories, instead to change it.

One way to avoid this customization above (in webserver templates) is to create your custom files directly in 'conf.d' diretories of your webservers, avoiding to change the system config webserver files.

Regards,
Netino

67
As reported by CWP team, the solutions is just:
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all
The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

NOTE: if you customize your webserver configuration, you *must* customize too the webserver templates in "/usr/local/cwpsrv/htdocs/resources/conf/web_servers/", otherwise, they will always be overwritten when CWP is updated.
(check there your webservers files used)

The templates are *always* overwritten when CWP is updated too. So, you *must* to create additional files in that directories, instead to change it.

One way to avoid this customization above (in webserver templates) is to create your custom files directly in 'conf.d' diretories of your webservers, avoiding to change the system config webserver files.

Regards,
Netino

68
As reported by CWP team, the solutions is just:
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

Regards,
Netino

69
CentOS-WebPanel Bugs / Re: BUG**ssl renew now renews ALL
« on: December 31, 2021, 04:01:20 AM »
I have the same problem, one month ago, expire my auto SSL, automatic, has renew my SSL domain, but not admin services (like mail...).
My solution, delete the SSL of the domain and recreate again with select the SAN thats I need.

Yes, it works too.

Another way is to just add the missing DNS records for that domains.

The missing domains you can check too with the following command, since the last restart of your Apache server (if using Apache server):
Code: [Select]
# grep AH01909 /usr/local/apache/logs/error_log


70
Updates / Re: New update broke http conf files and php fpm
« on: December 31, 2021, 03:55:11 AM »
(...)
i can't update cwp pro due to problem.
[root@******~]# /scripts/update_cwp
Could not open input file: /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

not working.

Try first the following command, to update Ioncube loader:
Code: [Select]
# /scripts/update_ioncube

After that, try the command:
Code: [Select]
/scripts/update_cwp

71
Updates / Re: New update broke http conf files and php fpm
« on: December 31, 2021, 03:52:29 AM »
As reported by CWP team, the solutions is just:
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

Regards,
Netino

72
Updates / Re: After update today, nginx/1.20.0 error
« on: December 31, 2021, 03:46:45 AM »
For the last 2 nights/mornings I woke up to see all our vhosts overwritten and none of our sites working. On one server, we only have one site on it. I would never think it would have to do with bandwidth issues but should I go ahead and try the fix above and see what happens?

Yes.
This is being reported by CWP team, and the users in this forum, as the solution.

73
CentOS 7 Problems / Re: Unlimiterd Package Bug (disk more than 2TB)
« on: December 31, 2021, 03:44:40 AM »
As reported by CWP team, the solutions is just:
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

Regards,
Netino

74
Updates / Re: After update today, nginx/1.20.0 error
« on: December 29, 2021, 09:54:48 PM »
there is one more way to resolve it
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

What is this command for?
I observe that it worked for many but I want to know what its function is please

The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

Regards,
Netino

75
CentOS-WebPanel Bugs / Re: unsuspend account not works
« on: December 29, 2021, 09:53:10 PM »
To solve, as reported by CWP team today, issue the following commands:
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

The first command remove bandwidth limits from sites, and the second rebuild all sites configurations in your webservers.

Regards,
Netino

Pages: 1 ... 3 4 [5] 6 7 ... 25