Search found 70 matches

by plutocrat
Mon Nov 20, 2017 10:15 am
Forum: Database Server
Topic: MariaDB v10
Replies: 2
Views: 50

Re: MariaDB v10

My experience on Ubuntu 16 was that mysql was installed by default. This caused problems, as mysql was version 5.7, and mariadb 10.x corresponds to mysql 5.6. There are substantial differences in the table structure between 5.6 and 5.7, so effectively downgrading from mysql 5.7 to mariadb 10.1 was a...
by plutocrat
Mon Nov 20, 2017 10:11 am
Forum: Web Server
Topic: Varnish on VestaCP
Replies: 1
Views: 67

Re: Varnish on VestaCP

There is an apache + nginx setup, where nginx is working as a caching proxy, effectively doing the same job as varnish. Varnish isn't supported by vestacp, so if you want that setup, you might be better off installing your own server. Basically Varnish will listen on ports 80 and 443, and then forwa...
by plutocrat
Tue Nov 14, 2017 3:58 am
Forum: General Discussion
Topic: /backup filling up with tmp files
Replies: 4
Views: 162

Re: /backup filling up with tmp files

In case it helps, I just found this too.
I looked in /var/log/vesta/backup.log and it seemed that there was an error in there saying
Error: can't parse file /home/user/web/conf/nginx.conf
I rebuilt the web config with v-rebuild-webdomains user
I'll see if that fixes it tomorrow.
by plutocrat
Fri Nov 10, 2017 3:16 am
Forum: Web Server
Topic: SSL not working
Replies: 4
Views: 99

Re: SSL not working

If you're getting a 500 when you enable SSL, there's usually something wrong with the webserver config.

It could be that nginx/apache can't find a file. Check that the newly created SSL cert files exist as specified in the config, and that the permissions are correct.
by plutocrat
Fri Nov 10, 2017 2:59 am
Forum: General Discussion
Topic: Hacked websites and VestaCP
Replies: 11
Views: 668

Re: Hacked websites and VestaCP

Something like this would work. Just a quick and dirty prototype #!/bin/bash for URL in \ /home/admin/web/domain.com/public_html/ \ /home/admin/web/sub.other.com/public_html/blog/ \ /home/user/web/third.com/public_html/ do WPUSER=$( echo $URL | awk -F "/" '{ print $3}' ) WPCMD="sudo -...
by plutocrat
Mon Nov 06, 2017 4:25 am
Forum: General Discussion
Topic: Hacked websites and VestaCP
Replies: 11
Views: 668

Re: Hacked websites and VestaCP

As a service to your customers, you might consider writing a script to get wp-cli to check for un-updated plugins and wp installations. It could send out an automated email if it found many updates. It could even perform the upgrades if you wanted, but that might be a bit intrusive. http://wp-cli.org/
by plutocrat
Mon Nov 06, 2017 4:15 am
Forum: General Discussion
Topic: How can i disable open_basedir settings. Topic is solved
Replies: 3
Views: 195

Re: How can i disable open_basedir settings. Topic is solved

Note that your changes will disappear if you ever rebuild the web config. To make the changes permanent you need to also edit the template files that are used to rebuild the config as suggested above. Even better, copy the templates to new files, edit those, and then select the template from the con...
by plutocrat
Sun Oct 29, 2017 5:18 am
Forum: Debian/Ubuntu
Topic: which is the best protection? fail2ban or CSF Topic is solved
Replies: 2
Views: 623

Re: which is the best protection? fail2ban or CSF Topic is solved

CSF is actually a firewall which includes a brute force protection daemon, very similar to fail2ban. I think this is what prompted the original poster's question. From the website: Login Failure Daemon (lfd) To complement the ConfigServer Firewall (csf), we have developed a Login Failure Daemon (lfd...
by plutocrat
Tue Oct 10, 2017 7:38 am
Forum: Web Interface
Topic: lets encrypt: add domains cause Proxy Support to stop
Replies: 5
Views: 1688

Re: lets encrypt: add domains cause Proxy Support to stop

I just came across this too. The workaround is to login as admin, switch user to non-admin user, enable proxy again. Then you can turn on SSL / Letsencrypt. The domain should clearly retain the proxy settings as originally set. Also, shouldn't SSL / Letsencrypt also work with apache only, no proxy?
by plutocrat
Sat Sep 30, 2017 9:13 am
Forum: Web Server
Topic: letsencrypt renewal logging / debug
Replies: 0
Views: 149

letsencrypt renewal logging / debug

Hi, Having trouble with the built-in v-*-letsencrypt-* scripts. One domain is refusing to renew and I don't know why. The standard letsencrypt client produces masses of logs in /var/log/letsencrypt, which are useful for finding out what's wrong. However the built in scripts just fail silently, with ...

Go to advanced search



cron