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.
Pages: [1] 2
1
CentOS-WebPanel GUI / user after login redirect to NON https?
« on: September 14, 2022, 05:30:50 AM »
Hello
I canīt found any solutiojn for this..
From my CWP panel, the users login are secured with http with each customer domain, for example :
https://customerdomain.com:2083
When the customer login from there, he get error (because after login the panel is redirecting with NO https://)
If we modify manually that in the browser uRL bar to https:// the user panel display perfect.
I need to redirect after login to https:// instead to http://
Any help?
Thanks
Fabian
I canīt found any solutiojn for this..
From my CWP panel, the users login are secured with http with each customer domain, for example :
https://customerdomain.com:2083
When the customer login from there, he get error (because after login the panel is redirecting with NO https://)
If we modify manually that in the browser uRL bar to https:// the user panel display perfect.
I need to redirect after login to https:// instead to http://
Any help?
Thanks
Fabian
2
Backup / Re: Backup CWP to an Amazon S3 bucket
« on: May 23, 2022, 06:54:13 PM »
Hello everyone..
Thanks for this S3 backup script.
But something weird is happening...
The backups apparently works fine, but it only do 2 sites and then it stop, and ends.
Never i can do the entire backup of all sites/users.
Could be the second site is too big (more of 5GB) and the tar.gz never finish the job?
Thanks for any help
Fabian
Thanks for this S3 backup script.
But something weird is happening...
The backups apparently works fine, but it only do 2 sites and then it stop, and ends.
Never i can do the entire backup of all sites/users.
Could be the second site is too big (more of 5GB) and the tar.gz never finish the job?
Thanks for any help
Fabian
3
CentOS-WebPanel Bugs / Re: Nameserver section within the reseller module is blank with just a spinner
« on: December 16, 2020, 12:08:47 AM »
I have 2 servers with CWP Pro.
In one of them the resellers section works perfect (all tabs including nameservers)
IN the other server happens the same.. all tabs ok except the nameserver tab.. only appears the spinning and nothing happens.
I compared both servers/configurations and all are identical..
IN the console appears this error :
Any help ?
Thanks
Fabian
In one of them the resellers section works perfect (all tabs including nameservers)
IN the other server happens the same.. all tabs ok except the nameserver tab.. only appears the spinning and nothing happens.
I compared both servers/configurations and all are identical..
IN the console appears this error :
Code: [Select]
Uncaught TypeError: nsdata is null
renderNS https://hostname.com:2083/cwp_02d5826303ededa2/ideasau/?module=reseller:5774
callback https://hostname.com:2083/cwp_02d5826303ededa2/ideasau/?module=reseller:5762
complete https://hostname.com:2083/cwp_02d5826303ededa2/ideasau/?module=reseller:7973
jQuery 4
Any help ?
Thanks
Fabian
4
Functions / Security Advisor not appears in my CWP Pro.. is avaialble?
« on: December 07, 2020, 08:18:33 PM »
Hello
I saw on the new CWP site the Pro version includes a "security advisor"
But i canīt found it on my version of cwp pro (CWPpro version: 0.9.8.1025)
Thanks
Fabian
I saw on the new CWP site the Pro version includes a "security advisor"
Code: [Select]
Security advisor
Checks your server and lets you know how to improve the security of your server (we continuously add new checks for the security improvement).
But i canīt found it on my version of cwp pro (CWPpro version: 0.9.8.1025)
Thanks
Fabian
5
CentOS-WebPanel Bugs / NAT IP (Amazon) issues
« on: September 21, 2020, 05:42:30 PM »
Hello
I built a new instance in Amazon and installed CWP PRO.
For some reason, the fresh installation take the "private" IP of Amazon as "Default Server IP" (NOT as shared IP that i have the correct one.
So, the configuration is :
NS1: ns1.mydomain.com | IP:1.1.1.1 (the public IP and is correct)
NS2: ns2.mydomain.com | IP:1.1.1.1
Server IP: 2.2.2.2 | aws.mydomain.com (the private IP and is NOT correct)
Shared IP: 1.1.1.1 (correct)
Hostname: aws.mydomain.com
The hostname is correctly set pointing to the same shared IP and resolves OK.
The nameservers too.
Each time I login i get this error :
Then, i go to that link --> "CWP Settings" --> "Edit settings"
And i get :
The real issue (and i think is all for this NAT configuration) is that I have 2 sites hosted for now, and both sites show the default index.html page and not the correct content.
I checked the Apache conf of each domain, the path is perfect, the IP is perfect, all is perfect, but still opening the defalut page.
THEN...
1 - someboy can help me to re configure the NAT settings to put the private Amazon IP as NAT and the default server IP and shared IP with the same?
2 - the default index.html will be fixed with the nat configuration? or i need to change anything?
Iīm with this issue since more of 3 days ago, searching in google and many places, (i have knowledge with Centos, and linux commands)
NOTHING WORKS
I not want to reinstall everything again.. that wil be only solution??
Thanks for any help
Fabian
I built a new instance in Amazon and installed CWP PRO.
For some reason, the fresh installation take the "private" IP of Amazon as "Default Server IP" (NOT as shared IP that i have the correct one.
So, the configuration is :
NS1: ns1.mydomain.com | IP:1.1.1.1 (the public IP and is correct)
NS2: ns2.mydomain.com | IP:1.1.1.1
Server IP: 2.2.2.2 | aws.mydomain.com (the private IP and is NOT correct)
Shared IP: 1.1.1.1 (correct)
Hostname: aws.mydomain.com
The hostname is correctly set pointing to the same shared IP and resolves OK.
The nameservers too.
Each time I login i get this error :
Quote
WARNING! Possible NAT networking detected, Please check the following settings.
EDIT NAT SETTINGS
Then, i go to that link --> "CWP Settings" --> "Edit settings"
And i get :
Quote
hared IP:
Shared IP : 1.1.1.1
default: 2.2.2.2
Apache port: 8181 (is set with Nginx, but i tried also using only apache and the same happens)
Admin Email: my@email.com
NAT Local IP: NOTHING (and the dropdown menu not show anything)
when using private network you need to have private IP in the config files
DISABLED Activate NAT-ed Network Configuration (---> i canīt check this and i canīt do anything here)
The real issue (and i think is all for this NAT configuration) is that I have 2 sites hosted for now, and both sites show the default index.html page and not the correct content.
I checked the Apache conf of each domain, the path is perfect, the IP is perfect, all is perfect, but still opening the defalut page.
THEN...
1 - someboy can help me to re configure the NAT settings to put the private Amazon IP as NAT and the default server IP and shared IP with the same?
2 - the default index.html will be fixed with the nat configuration? or i need to change anything?
Iīm with this issue since more of 3 days ago, searching in google and many places, (i have knowledge with Centos, and linux commands)
NOTHING WORKS
I not want to reinstall everything again.. that wil be only solution??
Thanks for any help
Fabian
6
CentOS-WebPanel GUI / Re: Blank accounts list in Admin Gui
« on: January 17, 2020, 07:36:49 PM »
DONE!
FIXED
new panel version.
Thanks CWP!
FIXED
new panel version.
Thanks CWP!
7
CentOS-WebPanel GUI / Re: Blank accounts list in Admin Gui
« on: January 17, 2020, 06:10:10 PM »
new error.. phpmyadmin from root never opens
8
CentOS-WebPanel GUI / Re: Blank accounts list in Admin Gui
« on: January 17, 2020, 06:08:56 PM »
exactly !!
it happens in mine exactly like this.
;(
it happens in mine exactly like this.
;(
9
CentOS-WebPanel GUI / Re: Blank accounts list in Admin Gui
« on: January 17, 2020, 06:05:41 PM »
The same here.. using CWP Pro.
I tried everything.. update cwp. restart, etc. etc.
The user list not display anything.
Also the load average in the left top corner in dashboard never load..
Also, in dashboard, continuosly trying to verify version
Also, in email lists appears old emails from domains not longer exists..
Something in cpw have a lot errors in console.
Anyone??
Thanks
Fabian
I tried everything.. update cwp. restart, etc. etc.
The user list not display anything.
Also the load average in the left top corner in dashboard never load..
Also, in dashboard, continuosly trying to verify version
Also, in email lists appears old emails from domains not longer exists..
Something in cpw have a lot errors in console.
Anyone??
Thanks
Fabian
10
E-Mail / Re: how to create folder /var/vmail/domain.com when we create new accounts???
« on: February 08, 2019, 05:33:40 PM »
Well
sh /scripts/mail_roundcube_update
###############################
Roundcube is already up-to-date
###############################
And if i create a new client/domain, then create a new email account, and then try to login using roundcube i get this error in roundcube :
"An ERROR OCURRED"
Server Error: STATUS: Internal error occurred. Refer to server log for more information.
and the error is the folder of the domain is NOT created under /var/vmail
If i do all the steps described above, round cube and outlook begins to work.
I have centos 7.5 and last panel version
Regards
Fabian
sh /scripts/mail_roundcube_update
###############################
Roundcube is already up-to-date
###############################
And if i create a new client/domain, then create a new email account, and then try to login using roundcube i get this error in roundcube :
"An ERROR OCURRED"
Server Error: STATUS: Internal error occurred. Refer to server log for more information.
and the error is the folder of the domain is NOT created under /var/vmail
If i do all the steps described above, round cube and outlook begins to work.
I have centos 7.5 and last panel version
Regards
Fabian
11
E-Mail / Re: how to create folder /var/vmail/domain.com when we create new accounts???
« on: February 08, 2019, 05:26:44 PM »
Hello
Iīve tried creating a new domain, and going first to roundcube, and nothing happens.
I will try updating roundcube now with sh /scripts/mail_roundcube_update and try again.
Anyway.. the panel itself must to create the folder and enable the email account when we create a new email address, WITHOUT login to roundcube.. many people use emails in outlook and never uses webmail
I will post if the update of roundcube works.
Thanks
Fabian
Iīve tried creating a new domain, and going first to roundcube, and nothing happens.
I will try updating roundcube now with sh /scripts/mail_roundcube_update and try again.
Anyway.. the panel itself must to create the folder and enable the email account when we create a new email address, WITHOUT login to roundcube.. many people use emails in outlook and never uses webmail
I will post if the update of roundcube works.
Thanks
Fabian
12
E-Mail / how to create folder /var/vmail/domain.com when we create new accounts???
« on: February 08, 2019, 04:27:55 AM »
Hello guys
I was all day trying to fix this issue and finally i found the problem.
PROBLEM :
1 - I create a new client account/domain in CWP : example : domain.com
2 - all goes well but.. when we create a new email , apparently it is created without errors, but never works. (we can SEND but NOT receive). In forums and Google there are LOT people with the same issue in CWP.
3 - Obviusly, another "associated" issue is that roundcubemail not works neither.
SOLUTION :
1 - create a new folder under /var/vmail with the domain created above (like /var/vmail/domain.com)
2 - change group and owner of this folder :
# chown vmail.mail /var/vmail/domain.com
3 - change permissions from 755 to 700 to that folder :
# chmod 700 /var/vmail/domain.com
DONE!
You can now login in roudncube and it creates the corresponding folders, and you also can use the account in OUtlook, Thunderbird, etc, like a charme...
But, CWP PEOPLE.. this is not just a "bug" this is ridiculous!!! Each time we create a new site, we must to do this MANUALLY ?
The domain.com folder under /var/vmail MUST TO BE CREATED AUTOMATICALLY!!!
I hope someone from CWP can read this an fix this terrible issue.
For other things.. the Panel looks perfect, and until now is working all well.
Thanks
Fabian
I was all day trying to fix this issue and finally i found the problem.
PROBLEM :
1 - I create a new client account/domain in CWP : example : domain.com
2 - all goes well but.. when we create a new email , apparently it is created without errors, but never works. (we can SEND but NOT receive). In forums and Google there are LOT people with the same issue in CWP.
3 - Obviusly, another "associated" issue is that roundcubemail not works neither.
SOLUTION :
1 - create a new folder under /var/vmail with the domain created above (like /var/vmail/domain.com)
2 - change group and owner of this folder :
# chown vmail.mail /var/vmail/domain.com
3 - change permissions from 755 to 700 to that folder :
# chmod 700 /var/vmail/domain.com
DONE!
You can now login in roudncube and it creates the corresponding folders, and you also can use the account in OUtlook, Thunderbird, etc, like a charme...
But, CWP PEOPLE.. this is not just a "bug" this is ridiculous!!! Each time we create a new site, we must to do this MANUALLY ?
The domain.com folder under /var/vmail MUST TO BE CREATED AUTOMATICALLY!!!
I hope someone from CWP can read this an fix this terrible issue.
For other things.. the Panel looks perfect, and until now is working all well.
Thanks
Fabian
13
PHP / i canīt run php as html files
« on: January 26, 2019, 06:34:17 PM »
Hello
I have is php switcher 7.2.15
also compiled the same verion 7.2.15 in php_selector 2
I have a site using html files but with php code.
Normally, in all servers with cpanel and other panels i do this with the addhanlder line in htaccess like this :
AddHandler application/x-httpd-php72 .php .html
not working here.. the files with html extension and php code display the code.
Iīve tried everything.. i set at "webserver domains conf" for the domain : apache + nginx php-cgi
i modified this part in the domain.conf under nginx (/etc/nginx/conf.d/vhosts/domain.com.conf)
location ~ .*\.(php|jsp|cgi|pl|py)?$ {
proxy_pass http://1.1.1.1:8181;
include proxy.inc;
}
for this :
location ~ .*\.(php|html|jsp|cgi|pl|py)?$ {
proxy_pass http://1.1.1.1:8181;
include proxy.inc;
}
then restarted Nginx and apache
nothing happens
any help ?
I have is php switcher 7.2.15
also compiled the same verion 7.2.15 in php_selector 2
I have a site using html files but with php code.
Normally, in all servers with cpanel and other panels i do this with the addhanlder line in htaccess like this :
AddHandler application/x-httpd-php72 .php .html
not working here.. the files with html extension and php code display the code.
Iīve tried everything.. i set at "webserver domains conf" for the domain : apache + nginx php-cgi
i modified this part in the domain.conf under nginx (/etc/nginx/conf.d/vhosts/domain.com.conf)
location ~ .*\.(php|jsp|cgi|pl|py)?$ {
proxy_pass http://1.1.1.1:8181;
include proxy.inc;
}
for this :
location ~ .*\.(php|html|jsp|cgi|pl|py)?$ {
proxy_pass http://1.1.1.1:8181;
include proxy.inc;
}
then restarted Nginx and apache
nothing happens
any help ?
14
PHP / Re: PHP Switcher not Switching?
« on: January 12, 2019, 01:24:45 AM »
DONE!
all worked fine now
When iīve tried to install PHP selector,, from 5.6 to 7.3 included, installed 5.6, 7.0 and 7.1 NEVER install 7.2 and 7.3
Then.. iīve updated 5.6, 7.0 and 7.1 perfectly in php selector.
After this.. i tried again in phpswitcher, and changed 5.6.37 to 7.1.25 and worked perfect.
Apparently the panel not allow PHP 7.2 and 7.3 for some reason.
Maybe a bug ?
Thanks
Fabian
all worked fine now
When iīve tried to install PHP selector,, from 5.6 to 7.3 included, installed 5.6, 7.0 and 7.1 NEVER install 7.2 and 7.3
Then.. iīve updated 5.6, 7.0 and 7.1 perfectly in php selector.
After this.. i tried again in phpswitcher, and changed 5.6.37 to 7.1.25 and worked perfect.
Apparently the panel not allow PHP 7.2 and 7.3 for some reason.
Maybe a bug ?
Thanks
Fabian
15
PHP / Re: PHP Switcher not Switching?
« on: January 11, 2019, 08:12:11 PM »
Hello
I have by default 5.6.37
Iīve already compiled many times.. 7.2, 7.3 etc.
When i enter thru console this :
/usr/local/cwpsrv/htdocs/resources/conf/php_switcher/7.3.ini
I get this :
sh /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/7.3.ini: Permission denied
What iīm doing wrong?
Thanks
Fabian
I have by default 5.6.37
Iīve already compiled many times.. 7.2, 7.3 etc.
When i enter thru console this :
/usr/local/cwpsrv/htdocs/resources/conf/php_switcher/7.3.ini
I get this :
sh /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/7.3.ini: Permission denied
What iīm doing wrong?
Thanks
Fabian
Pages: [1] 2