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

Pages: [1] 2
1
Backup / Re: remote backups
« on: May 03, 2021, 01:45:54 PM »
interesting, if i automatically backup to my ftp server (ftpserver:/daily-backup.tar.gz) , the backup file is corrupt and cannot be extracted.  If I manually backup and download the backup file from my server (/home/account/backupcwp/backupfile.tar.gz) i can open it fine.

Could there be an issue with the automated backup to ftp?

2
MySQL / any host vs localhost vs ip
« on: May 03, 2021, 06:18:54 AM »
Hi,

When setting user privileges in mysql manager,

am i forced to using any host? when I want my db user to connect from a remote server?

Currently I have localhost set, so my inital website works fine as the db is on the localhost.

I also have an external server which queries my db, so selected "specify ip address" which allows the connection.

Unfortunately this broke the local connection as well.

So i have to use "% Any Host" to get around this.

Can I not specify localhost and also a single ip address?

reason i am concerned is that if the db user pw is comprimised then they can potentially gain access to my db because the user has "% Anyhost" access.

Is there a way to force localhost and single remote IP?

3
Updates / Re: CWP auto updates
« on: May 02, 2021, 09:29:02 AM »
ok,

i've been using sentora for 5 years without any issues at all.

I migrate my sites to CWP 7 and even sign up for business support.

Everything was working fine last night and I get up to do my checks this morning and suddenly I cannot access any CWP admiin panels.

I get "An error occurred during a connection to mydomain.com:2031. PR_CONNECT_RESET_ERROR"

I get session timed out.  WTF is this updating shit??

How can I trust CWP when this happens? 

No network issues as my other servers are fine, and absolutely nothing has been changed by me.

I can ssh to the server and it's operating fine.

What happened last night with CWP? because this auto update shit is just not trust worthy!


4
Installation / Re: apache + nginx + varnish + php 5.6-FPM
« on: May 01, 2021, 11:01:43 AM »
For info,

i subscribed to support and raised a ticket - which the dev's pretty much immediately sorted for me.

Turns out there is a .users.ini file in the domain root that we needed the session.path setting adding to.

After this, all worked great! so a* for the support if anyone needs it! gr8 response!

5
Installation / Re: apache + nginx + varnish + php 5.6-FPM
« on: April 30, 2021, 12:52:36 PM »
Hi,

i've just check the permissions for my /tmp folder (where the php session files are being saved)

I notice on php.ini the session.save_path param is not set, so i assume it defaults to /tmp

If i look at my user folder where the domains are created i see that the domains have the following permissions:

drwxr-xr-x 17 myuser nobody 21 Apr 30 13:38 domain1.com
drwxr-xr-x 17 myuser nobody 21 Apr 30 13:38 domain2.com
drwxr-xr-x 17 myuser nobody 21 Apr 30 13:38 domain3.com
drwxr-xr-x 17 myuser nobody 21 Apr 30 13:38 domain4.com

however tmp has the following permissions:
drwxr-xr-x  3 myuser myuser   21 Apr 30 13:38 tmp

When my php script is executed via ajax, do it need the nobody permission to read the php session file in the tmp folder?

should i set session.save_path to point to another folder where access is open?

6
Installation / apache + nginx + varnish + php 5.6-FPM
« on: April 30, 2021, 09:36:29 AM »
Hi,

I recently update my server to use apache + nginx + varnish and notice an error when using ajax to call a php script with session_start and notice an error in the domlog:

 [proxy_fcgi:error] [pid 22984:tid 140543510099712] [client 86.18.124.211:34760] AH01071: Got error 'PHP message: PHP Warning:  session_start(): open(tmp/sess_9hmfppek9sb9t4tbv9cpos42l2, O_RDWR) failed: No such file or directory (2)

The file exists, but yet I get this message.  Is there something in nginx I need to configure?

I only get this error when I call the script using $.ajax post to get results back.

7
Installation / Re: mod_security forced page reload - ctrl-f5
« on: April 29, 2021, 12:41:59 PM »
interesting - i've just set Comodo WAF mode and it looks like it's fixed my issue.

8
Installation / mod_security forced page reload - ctrl-f5
« on: April 29, 2021, 12:37:20 PM »
Hi,

i'e recently turned on mod_security for my domain and one issue stands out is if I do a forced page reload using ctrl-f5.

No matter what browser I use, doing a force reload brings up the following messages:

Forbidden

You don't have permission to access / on this server.

however if I just to a normal page load it's fine.

Is there some known setting on mod_security thats blocks this?

9
Information / Re: CWP pro
« on: April 29, 2021, 12:28:25 PM »
Thanks, for $11 i dont mind paying again anyway.  I just did'nt want any services to stop working when I change IP to my live environment.

10
Updates / Re: CWP auto updates
« on: April 29, 2021, 12:26:57 PM »
ok thanks, does CWP auto update restart services etc? which will kick live members from the site?

11
Backup / remote backups
« on: April 29, 2021, 04:54:36 AM »
I have the remote backups working in that it creates a 2gb backup.tar.gz file on my remote ftp server.

Unfortunately, when i go to open the backup to select something to restore i get "archive is corrupt".

Am I forced to restore with CWP? or is there something catastrophically wrong with the backups where it's generating corrupt compressed backups?


12
Information / Re: Multiple Server Setup
« on: April 28, 2021, 06:08:22 AM »
We are currently working on a new tool for this type of user, it will be available soon ... this will be a great tool!
Sounds very interesting, can you tell me btw us a few details about it?  ;)

This will be very handy indeed!

13
Information / Re: Filezilla not connecting
« on: April 28, 2021, 06:05:11 AM »
I dont have this issue at all, maybe it's os specific.

14
Updates / CWP auto updates
« on: April 27, 2021, 03:50:02 PM »
Hi,

is there a way I can disable this?  I would like to manage updates and test them myself.

Thanks

15
Information / CWP pro
« on: April 27, 2021, 03:43:29 PM »
Hi,

i've installed CWP and will be testing over the coming weeks with my production domains.

The server at the moment has a temp IP address. 

If i purchase the pro license will i lose functionality when I change my ip address?

thanks

Pages: [1] 2