Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
22 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by plutocrat » Fri Mar 22, 2019 4:53 am

Seems somehow the problem is to do with upgrading from Ubuntu 16 to 18. It does actually work now on a fresh install of 18 (although it didn't for a long time). Would a fresh install be an option for you?
Top

p4r4norm4l
Posts: 11
Joined: Sat Mar 09, 2019 5:37 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by p4r4norm4l » Fri Mar 22, 2019 2:24 pm

Hey I upgraded from 18.04 and not from 16.
According to vestaCP website it's not compatible with 18.10.1 yet.

I could do a full backup and reinstall everything, I did the update because wordpress is now compatible with php 7.3 and speeds up the websites by 9%.

I'll see maybe i'll just wait and use Vesta as CLI I was able to do the Backup that way so i can probably create new sites that way too.

I'll contact VestaCP about the issue and ask them if there is a patch coming out soon to support 18.10.1.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by imperio » Fri Mar 22, 2019 3:12 pm

vesta is not compatible with 18.10, but we have a plans to support it after 0.9.8-24
Top

p4r4norm4l
Posts: 11
Joined: Sat Mar 09, 2019 5:37 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by p4r4norm4l » Fri Mar 22, 2019 4:48 pm

Do you have an ETA on that, Is there a quick fix or workaround for now ?
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by plutocrat » Sat Mar 23, 2019 7:52 am

Oh, right, so it installed OK On 18.04, but you upgraded to 18.10 to get PHP 7.3? Well you know, its pretty easy to bump PHP up to 7.3 on an existing install. In retrospect that probably would have been an easier path! :-)
For the record, it goes something like this

Code: Select all

# Add repos and upgrade
apt install software-properties-common python-software-properties
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/apache2
apt update
apt install libapache2-mod-php7.3 php7.3 php7.3-cgi php7.3-cli php7.3-common php7.3-curl php7.3-gd php7.3-imap php7.3-intl php7.3-json php7.3-ldap php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-pspell php7.3-readline php7.3-soap php7.3-xml 
php --version

# Fix apache
a2dismod php7.0 
a2enmod php7.3
systemctl restart apache2
Top

p4r4norm4l
Posts: 11
Joined: Sat Mar 09, 2019 5:37 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by p4r4norm4l » Tue Mar 26, 2019 6:28 pm

I will try this on a test server since the other one is a live server. :(
Should of done this the other way around lol.
Top

p4r4norm4l
Posts: 11
Joined: Sat Mar 09, 2019 5:37 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by p4r4norm4l » Wed Apr 17, 2019 8:25 pm

imperio wrote: ↑
Fri Mar 22, 2019 3:12 pm
vesta is not compatible with 18.10, but we have a plans to support it after 0.9.8-24
Did the update and I still cannot conect to the admin panel. Did you guys do the switch from libcurl3 to 4 yet ?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by imperio » Thu Apr 18, 2019 8:25 am

p4r4norm4l wrote: ↑
Wed Apr 17, 2019 8:25 pm
imperio wrote: ↑
Fri Mar 22, 2019 3:12 pm
vesta is not compatible with 18.10, but we have a plans to support it after 0.9.8-24
Did the update and I still cannot conect to the admin panel. Did you guys do the switch from libcurl3 to 4 yet ?
Can you write more about this problem?
Top

dtel
Posts: 1
Joined: Thu May 16, 2019 4:21 pm

Os: Debian 8x
Web: apache + nginx
Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by dtel » Thu May 16, 2019 4:26 pm

found a workaround by copying /usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0 from another working system and modifying the init script by adding LD_PRELOAD before starting command:

start_nginx() {
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0 start-stop-daemon --start --quiet --pidfile $NGINX_PID \
--retry 5 --exec $NGINX_DAEMON --oknodo
}

start_php() {
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0 start-stop-daemon --start --quiet --pidfile $PHP_PID \
--retry 5 --exec $PHP_DAEMON --oknodo
}

stop_nginx() {
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0 start-stop-daemon --stop --quiet --pidfile $NGINX_PID \
--retry 5 --oknodo --exec $NGINX_DAEMON
}

stop_php() {
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0 start-stop-daemon --stop --quiet --pidfile $PHP_PID \
--retry 5 --oknodo --exec $PHP_DAEMON
}


So far I succeded to have the backend functional again, the cron jobs using the new curl (4.5.0) are working and everything seems to be ok.
Top

drsdre
Posts: 12
Joined: Fri May 08, 2015 8:49 am

Re: VestaCP 18.10.1 Compatibility ETA & Bad gateway nginx after updating.
  • Quote

Post by drsdre » Wed Aug 28, 2019 9:25 am

Given that Ubuntu 16.04/18.04 uses systemd, you can also overrule the environment by creating a service config:

Code: Select all

systemctl edit vesta
Add to the new config file:

Code: Select all

[Service]
Environment="LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0"
Don't forget to update the daemon:

Code: Select all

systemctl daemon-reload
And restart the service:

Code: Select all

service restart vesta
Top


Post Reply
  • Print view

22 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password