Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not updating #8

Open
Glujaz opened this issue Sep 30, 2020 · 2 comments
Open

Not updating #8

Glujaz opened this issue Sep 30, 2020 · 2 comments

Comments

@Glujaz
Copy link

Glujaz commented Sep 30, 2020

Hello, I'm completely lost here... It stoped working in august at least. Up until now, it was simply updating dehydrated, but now, nothing is showing up in terminal.

I had to activate verbose mode to get this, and it's not very helpful to me :

`
++ serveradmin settings web:customSites
++ grep ':serverName = '
++ awk -F = '{print $1}'
++ grep -E -o '[0-9]+'

  • site_ids='0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15'
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:0:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:1:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:2:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:3:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:4:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:5:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:6:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:7:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:8:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:9:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:10:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:11:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:12:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:13:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:14:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
  • for site_id in '$site_ids'
    ++ serveradmin settings web:customSites
    ++ grep web:customSites:_array_index:15:sslCertificateIdentifier
    ++ awk -F = '{print $2}'
    ++ awk -F '"' '{print $2}'
  • certificate=
  • '[' '' = '' ']'
  • continue
    `

It seems that the script is unable to get the informations from the Server app anymore...

Thank you in advance for helping me to sort this out :)

@Glujaz
Copy link
Author

Glujaz commented Sep 30, 2020

Ok, it seems that the server app changed stuff, and put every HTTPS configs to port 80 without any certs, although Apache was definitely serving this with SSL... So definitely a server App stuff.

I changed that, but it is still not working : I get a CURL error 3...

INFO: Using main config file /usr/share/letsencrypt-mac-master/config

  • Fetching account URL...
    ERROR: Problem connecting to server (head for ; curl returned with 3)
    ERROR: Problem connecting to server (post for ; curl returned with 3)

Saw that It was URL styling related, but changing the run.sh (removing http:// in front) did nothing.

@Glujaz
Copy link
Author

Glujaz commented Sep 30, 2020

Ok, it seems to be a dehydrated version problem. The previous one (0.6.5) works fine even now. Not the current (0.6.8). Using the old one in the mean time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant