Search found 41 matches

by daansk44
Tue Dec 05, 2017 11:48 am
Forum: Web Server
Topic: Enable open_basedir
Replies: 1
Views: 653

Enable open_basedir

Hey, everyone I try to run this script (https://github.com/GeekPress/WP-Quick-Install) But get the message, 'You don't have the good permissions rights on . Thank you to set the good files permissions.' When I look in the log I see this [client xxx9:51426] PHP Warning: realpath(): open_basedir restr...
by daansk44
Thu Nov 30, 2017 8:27 am
Forum: Scripting / API
Topic: Update user API code PHP (Vestacp Class code)
Replies: 0
Views: 1223

Update user API code PHP (Vestacp Class code)

Hey everyone, I am writing an api class for Vestacp, and want to add a code to update users. Is there a way. You can download the code for free on https://gitlab.com/daansk44/vestacontrolpanelapiclasses <?php class VestaClass { // basic protected $vst_hostname; protected $vst_username; protected $vs...
by daansk44
Fri Oct 20, 2017 9:20 am
Forum: General Discussion
Topic: Migration Topic is solved
Replies: 10
Views: 2613

Re: Migration Topic is solved

Something like this: find /etc/ -type f -print0 | xargs -0 sed -i 's/192.168.0.1/192.168.0.2/g' find /usr/local/vesta/ type f -print0 | xargs -0 sed -i 's/192.168.0.1/192.168.0.2/g' find /home/*/conf/ type f -print0 | xargs -0 sed -i 's/192.168.0.1/192.168.0.2/g' Okay, I did it by hand :( Is there ...
by daansk44
Fri Oct 20, 2017 9:13 am
Forum: DNS Server
Topic: DNS stop working
Replies: 1
Views: 572

Re: DNS stop working

You need to post more information,

DNS LOG?

try to restart dns, look at the error.
Image
by daansk44
Tue Aug 22, 2017 11:17 am
Forum: General Discussion
Topic: Migration Topic is solved
Replies: 10
Views: 2613

Re: Migration Topic is solved

Local dns
by daansk44
Tue Jun 20, 2017 1:37 pm
Forum: General Discussion
Topic: Migration Topic is solved
Replies: 10
Views: 2613

Re: Migration Topic is solved

One of the problems with Migrations is that you have to change the DNS of every website. I have one server in France and another in Germany. I want to migrate everything to that another server, with a different IP (but with the same hostname). Do I need to manually edit every DNS record for every do...
by daansk44
Fri May 05, 2017 7:31 pm
Forum: Web Server
Topic: Cronjob empty when I try to edit it
Replies: 3
Views: 646

Re: Cronjob empty when I try to edit it

Please add a little more info. > Operating System (OS/VERSION): Centos 7 > VestaCP Version: 0.9.8 (x86_64)-17 > Installed Software (what you got with the installer): https://s22.postimg.org/o1idcdhox/this.png > Steps to Reproduce: Complete reinstall > Other Notes: Where can you find logs?
by daansk44
Fri May 05, 2017 7:28 pm
Forum: RHEL/CentOS
Topic: Can't restore package
Replies: 4
Views: 1060

Re: Can't restore package

The backups work for some reason,
Still get this

/usr/local/vesta/php/bin/php^M: bad interpreter: No such file or directory
by daansk44
Fri May 05, 2017 6:37 pm
Forum: General Discussion
Topic: Migration Topic is solved
Replies: 10
Views: 2613

Re: Migration Topic is solved

Well fuck one by one haha

Code: Select all

#!/bin/bash
# declare an array called array and define 3 vales
array=( user1 user2 user3 )
for i in "${array[@]}"
do
v-restore-user $i $i.date.date
  echo $i
done
by daansk44
Fri May 05, 2017 6:34 pm
Forum: General Discussion
Topic: Move Vesta CP to another host
Replies: 11
Views: 13607

Re: Move Vesta CP to another host

What if you migrate to a server with another IP (same hostname).
The dns will still link to the other server, can you just rebuild the DNS?

Go to advanced search