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
  • Search

After update from 0.9.8 to 1.0.0 auto error save SSL

General questions about VestaCP
Post Reply
  • Print view
Advanced search
14 posts
  • 1
  • 2
  • Next
thanhbq
Posts: 4
Joined: Wed Nov 17, 2021 12:58 am

Os: CentOS 6x
Web: apache + nginx
After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by thanhbq » Wed Nov 17, 2021 1:08 am

1. When Update from 0.9.8 to 1.0.0 automatic. SSL is not save on Vestacp website.
2. Account root has been disable
Please tell me How to fix my problem? I from Vietnam can you show me step by step. Thanks All
https://files.fm/f/rv4xwgab8 => after update lost ssl key and CA, I copied and save to see this image
https://drive.google.com/file/d/1uCuCjP ... sp=sharing => import SSL has been error
Top

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

Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by imperio » Wed Nov 17, 2021 9:37 am

refresh the vestacp page, and open wedomain settings again. Check sertificate
Top

thanhbq
Posts: 4
Joined: Wed Nov 17, 2021 12:58 am

Os: CentOS 6x
Web: apache + nginx
Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by thanhbq » Thu Nov 18, 2021 1:29 am

imperio wrote: ↑
Wed Nov 17, 2021 9:37 am
refresh the vestacp page, and open wedomain settings again. Check sertificate
No no , I did any more, It's not working
Top

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

Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by imperio » Thu Nov 18, 2021 8:06 pm

send me result of this command

Code: Select all

v-list-sys-vesta-updates
Top

kaavain
Posts: 62
Joined: Sat Sep 03, 2016 12:31 pm

Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by kaavain » Fri Nov 19, 2021 8:16 pm

Is it any way to roll back from 1.0??? Something wrong happening. It is luck I've made changes on not important domain... I've tried to enable SSL on some domain amd this is the "results":

- no SSL added.
- aliases was deleted.
- deleted proxy support
- deleted some recorrd in DNS....

What's wrong?

19 Nov 2021
21:05:42
disabled proxy support for szablondeko.pl
19 Nov 2021
21:05:42
deleted dns record 10 on szablondeko.pl
19 Nov 2021
21:05:41
deleted alias www.szablondeko.pl on szablondeko.pl

An I've reviving now warnings daily:

Cron <admin@vmi178294> sudo /usr/local/vesta/bin/v-update-sys-vesta-all
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
Top

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

Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by imperio » Fri Nov 19, 2021 8:38 pm

/usr/local/vesta/bin/v-update-sys-vesta
replace

Code: Select all

fi
to

Code: Select all

if
online 41
and try again

Code: Select all

v-update-sys-vesta-all
Top

kaavain
Posts: 62
Joined: Sat Sep 03, 2016 12:31 pm

Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by kaavain » Sat Nov 20, 2021 6:58 am

Much better! At least when EDIT some WEB domain it's old settings remains. But after edit


EDITING DOMAIN
Error: nginx restart failed

the WEB domain property lost return to blank settings...

Return to ADMIN goes to blank page - refresh helps - and process list shows that NGINX was restarted.

Checking again the property for domain in question shows that everything fine - aliases and SSL and proxy are enabled...
Top

kaavain
Posts: 62
Joined: Sat Sep 03, 2016 12:31 pm

Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by kaavain » Sat Nov 20, 2021 7:00 am

Trouble!!!

SSL now not working at ALL MY SITES!!!

So ALL my sites now down at https - at http works.
Top

kaavain
Posts: 62
Joined: Sat Sep 03, 2016 12:31 pm

Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by kaavain » Sat Nov 20, 2021 7:05 am

2021/11/20 07:54:48 [warn] 8845#8845: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/stencil-library.ru.nginx.ssl.conf:5
2021/11/20 07:55:01 [warn] 9020#9020: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/stencil-library.ru.nginx.ssl.conf:5
2021/11/20 07:55:17 [warn] 9656#9656: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/stencil-library.ru.nginx.ssl.conf:5
2021/11/20 07:55:17 [emerg] 9656#9656: a duplicate default server for 173.249.39.218:443 in /home/simple/conf/web/szablondeko.pl.nginx.ssl.conf:2
2021/11/20 07:55:17 [warn] 9682#9682: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/stencil-library.ru.nginx.ssl.conf:5
2021/11/20 07:55:17 [emerg] 9682#9682: a duplicate default server for 173.249.39.218:443 in /home/simple/conf/web/szablondeko.pl.nginx.ssl.conf:2
2021/11/20 08:01:16 [warn] 11748#11748: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/stencil-library.ru.nginx.ssl.conf:5
2021/11/20 08:01:16 [emerg] 11748#11748: a duplicate default server for 173.249.39.218:443 in /home/simple/conf/web/szablondeko.pl.nginx.ssl.conf:2
2021/11/20 07:02:55 [warn] 1031#1031: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/stencil-library.ru.nginx.ssl.conf:5
2021/11/20 07:02:55 [emerg] 1031#1031: a duplicate default server for 173.249.39.218:443 in /home/simple/conf/web/szablondeko.pl.nginx.ssl.conf:2
Top

kaavain
Posts: 62
Joined: Sat Sep 03, 2016 12:31 pm

Re: After update from 0.9.8 to 1.0.0 auto error save SSL
  • Quote

Post by kaavain » Sat Nov 20, 2021 7:12 am

Became alive after altering

listen 173.249.39.218:443 ssl default_server http2;

to

listen 173.249.39.218:443 ssl http2;

But it would be great to know what happens... I think that

It seems that now the editing of settings of WEB domain adds default_server to the NGINX config while if users are many or sites are many and default_server was already assigned to somewhere drops an error and NGINX is failed to start... Why default_server is added without checking of existing settings? AFAIK if no default_server mentioned in any conf the NGINX choose it by it's own... May be exclude this setting from the list? Or check the presence first?

OK, it seems to be my mistake... Seems I've edit

/usr/local/vesta/data/templates/web/nginx/default.stpl that way

server {
listen %ip%:%proxy_ssl_port% ssl default_server http2;
access_log off;
server_name %domain_idn% %alias_idn%;

So after updates any domain will get default_server.
Last edited by kaavain on Sat Nov 20, 2021 7:36 am, edited 1 time in total.
Top


Post Reply
  • Print view

14 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • 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