Search found 932 matches

by myVesta
Thu Aug 17, 2023 3:27 pm
Forum: Update
Topic: How to downgrade myVesta to old design?
Replies: 1
Views: 1063

Re: How to downgrade myVesta?

Code: Select all

cd /root
rm -rf /root/vesta
git clone https://github.com/myvesta/vesta.git

cd vesta
git reset --hard 2afbc2cddfbbc57f296640cb28d89fb29b2526c2

cp -rf /root/vesta/* /usr/local/vesta
by myVesta
Wed Aug 16, 2023 8:38 pm
Forum: General discussion
Topic: Restore from root/vst_install_backups
Replies: 9
Views: 956

Re: Restore from root/vst_install_backups

Only manually, if you can figure out what files to copy to what destination.
by myVesta
Wed Aug 16, 2023 3:30 pm
Forum: General discussion
Topic: Restore from root/vst_install_backups
Replies: 9
Views: 956

Re: Restore from root/vst_install_backups

But you first reinstalled the whole Debian, right?
by myVesta
Mon Aug 14, 2023 1:35 pm
Forum: CLI
Topic: How to list all website domains and subdomains on server
Replies: 0
Views: 1441

How to list all website domains and subdomains on server

Code: Select all

for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
    if [ ! -f "/usr/local/vesta/data/users/$user/user.conf" ]; then
        continue;
    fi
    for domain in $(/usr/local/vesta/bin/v-list-web-domains $user plain |cut -f 1); do
        echo $domain
    done
done
by myVesta
Wed Aug 09, 2023 4:58 pm
Forum: Update
Topic: Upgrade Debian 11 to 12
Replies: 5
Views: 7751

Upgrade Debian 11 to 12

# Get latest Debian 11 updates cp /etc/apt/sources.list /root/sources.list.bullseye-backup apt-get update apt-get -y upgrade apt-get -y dist-upgrade # Prepare for Debian 12 echo "deb http://deb.debian.org/debian bookworm main contrib non-free-firmware non-free" > /etc/apt/sources.list ech...
by myVesta
Wed Aug 09, 2023 10:48 am
Forum: General discussion
Topic: if i restore backup
Replies: 3
Views: 472

Re: if i restore backup

Restoring do what the name says - just restoring. Files will be overwritten, DB tables too - in case the backup HAS those files and tables. But, if the backup has no some new file/table - those files/tables would not be overwritten. So, if you need to ensure all data is deleted (before backup restor...
by myVesta
Mon Aug 07, 2023 11:21 pm
Forum: Installation
Topic: Debian 11 install error: /sbin/iptables-save: No such file or director
Replies: 1
Views: 1116

Re: Debian 11 install error: /sbin/iptables-save: No such file or director

In line before, in the installer, add:

Code: Select all

ln -s /usr/sbin/iptables-save /sbin/iptables-save
We will see to fix it in the installer soon.
by myVesta
Mon Aug 07, 2023 3:20 pm
Forum: nginx templates
Topic: How to install rate-limit nginx templates
Replies: 10
Views: 56587

Re: How to install rate-limit nginx templates

Solution for different rate-limit for different IP addresses and optionally different folders: /etc/nginx/nginx.conf part should look like this: geo $limited_ip { default 0; 123.123.123.123/24 1; 234.234.234.234/24 2; } map $limited_ip $limited_ip_key0 { 0 $binary_remote_addr; 1 ''; 2 ''; } map $lim...
by myVesta
Sun Aug 06, 2023 6:12 pm
Forum: General discussion
Topic: New myVesta style only for debian 11?
Replies: 1
Views: 259

Re: New myVesta style only for debian 11?

Hi! I noticed my servers with Debian 11 all got the latest myVesta update with the new style (Love it, btw!), whereas my Debian 10 server didn't get the update. Is it only available to Debian 11? I tried manually updating in vesta dashboard > Updates, but can't seem to upgrade. See https://forum.my...