Search found 501 matches

by dpeca
Wed Aug 04, 2021 9:39 am
Forum: Backup
Topic: Limiting number of remote backups
Replies: 6
Views: 1061

Re: Limiting number of remote backups

in sudoers add:

Code: Select all

admin ALL=NOPASSWD:/backup/*
and call script from cron with:

Code: Select all

sudo /backup/remote-backup.sh > /backup/remote-backup.log 2>&1
in /backup/remote-backup.sh as first line put:

Code: Select all

#!/bin/bash
and of course it needs +x chmod:

Code: Select all

chmod a+x /backup/remote-backup.sh
by dpeca
Mon Aug 02, 2021 9:44 am
Forum: Web
Topic: NAT or public IP Address
Replies: 1
Views: 39

Re: Stupid Question About IP Address

in 'WEB' section you should pick a internal (NAT) IP.
but in 'DNS' section an public IP should be.
by dpeca
Thu Jul 29, 2021 1:39 am
Forum: Bash
Topic: Cloning website, making staging copy (v-clone-website)
Replies: 5
Views: 435

Re: Cloning website, making staging copy (v-clone-website)

So if I'm copying the cloned (staged) site back to the original, should I override this parameter and set it blank so that I don't end up with the "_migrated" suffix on the original site? If you clone stage back to original, this script will figure out that it's stage (thanks to '_migrated' sufix) ...
by dpeca
Wed Jul 28, 2021 8:32 pm
Forum: Bash
Topic: Cloning website, making staging copy (v-clone-website)
Replies: 5
Views: 435

Re: Cloning website, making staging copy (v-clone-website)

Code: Select all

--DATABASE_SUFIX=... (default is '_migrated')
so you can override it with this parameter.
If you are cloning site to different account, then you can set it to empty string:

Code: Select all

--DATABASE_SUFIX=""
by dpeca
Wed Jul 28, 2021 12:01 pm
Forum: myVesta
Topic: Error update failed
Replies: 8
Views: 1815

Re: Error update failed

absolutemusik wrote:
Wed Jul 28, 2021 11:41 am
I am not sure whether the server information is correct. Please suggest. I have got the error message below when typing apt update.
See this article -> signatures couldn't be verified, public key is not available NO_PUBKEY 88807D4B2221338C
by dpeca
Tue Jul 27, 2021 6:58 pm
Forum: General discussion
Topic: Cannot receive emails
Replies: 2
Views: 71

Re: Cannot receive emails

Check if MX record of domain is pointing to your server - https://mxtoolbox.com/

Also check if you can connect to 25, 468 and 587 ports from outside.
by dpeca
Tue Jul 27, 2021 1:49 pm
Forum: phpMyAdmin
Topic: What are PHPmyadmin credentials
Replies: 1
Views: 80

Re: What are PHPmyadmin credentials

morais wrote:
Mon Jul 26, 2021 12:50 pm
What are PHPmyadmin credentials?
Credentials are username and password of database (database that you created in myVesta).
by dpeca
Sat Jul 24, 2021 2:33 pm
Forum: Update
Topic: Error: when running "sudo apt-get update" 'Origin' value from 'apt.vesta.hostingpanel.dev' to 'apt.myvestacp.com'
Replies: 3
Views: 170

Re: Error: when running "sudo apt-get update" 'Origin' value from 'apt.vesta.hostingpanel.dev' to 'apt.myvestacp.com'

Hello, I guess I´ve got something similar, can you please check it? W: Failed to fetch http://apt.myvestacp.com/buster/dists/buster/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 88807D4B2221338C Check out the following article -> signatur...
by dpeca
Sat Jul 24, 2021 2:28 pm
Forum: General discussion
Topic: Could not get lock /var/lib/dpkg/lock-frontend
Replies: 1
Views: 58

Re: Could not get lock /var/lib/dpkg/lock-frontend

Hi, thanks for your info! Even it was a good start i faced this problem in the second command: [email protected]:/home/admin# sudo apt-get -y install vesta E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpk...