ERROR: Parsing error in config file #350

Closed
opened 2025-12-29 01:23:33 +01:00 by adam · 4 comments
Owner

Originally created by @jzuellig on GitHub (May 20, 2018).

Hi
I'm trying to use dehydrated on alpine i got my inflammations form https://pdnsmanager.lmitsystems.de/documentation/letsencrypt/ and installed the needed packages.
On Ubuntu it is working perfectly, but on my alpine VM I get the error "ERROR: Parsing error in config file." when I'm using this command "./dehydrated -c"

I can't find any information/documentation on this error, the config file works on Ubuntu.

I tied to find a solution with google an co. but I can't find any.

From the Ubuntu System:

./dehydrated -v
# INFO: Using main config file /dehydrated/config
Dehydrated by Lukas Schauer
https://dehydrated.de

Dehydrated version: git-master-after-0.6.1
GIT-Revision: 537877a0e2fa39b16676a22aa3069730f5ba0ee4

OS: Debian GNU/Linux 9
Used software:
 bash: 4.4.12(1)-release
 curl: curl 7.52.1
 awk: GNU Awk 4.1.4, API: 1.1 (GNU MPFR 3.1.5, GNU MP 6.1.2)
 sed: sed (GNU sed) 4.4
 mktemp: mktemp (GNU coreutils) 8.26
 grep: grep (GNU grep) 2.27
 diff: diff (GNU diffutils) 3.5
 openssl: OpenSSL 1.1.0f  25 May 2017

From the Alpine System

./dehydrated -v
# INFO: Using main config file /dehydrated/config
Dehydrated by Lukas Schauer
https://dehydrated.io

Dehydrated version: git-master-after-0.6.2
GIT-Revision: 10d4b98e7f1e2c5e0e5b16b0896aa7180e5a88f5

OS: Welcome to Alpine Linux 3.7
Used software:
 bash: 4.4.19(1)-release
 curl: curl 7.59.0
 awk: awk: warning: option -W is ignored
 sed: This is not GNU sed version 4.0
 mktemp: mktemp: unrecognized option: version
 grep: grep: unrecognized option: version
 diff: diff: unrecognized option: version
 openssl: OpenSSL 1.0.2o  27 Mar 2018

Thanks
iGlaedr
sorry for the bad grammar

Originally created by @jzuellig on GitHub (May 20, 2018). Hi I'm trying to use dehydrated on alpine i got my inflammations form [https://pdnsmanager.lmitsystems.de/documentation/letsencrypt/](url) and installed the needed packages. On Ubuntu it is working perfectly, but on my alpine VM I get the error "ERROR: Parsing error in config file." when I'm using this command "./dehydrated -c" I can't find any information/documentation on this error, the config file works on Ubuntu. I tied to find a solution with google an co. but I can't find any. From the Ubuntu System: ``` ./dehydrated -v # INFO: Using main config file /dehydrated/config Dehydrated by Lukas Schauer https://dehydrated.de Dehydrated version: git-master-after-0.6.1 GIT-Revision: 537877a0e2fa39b16676a22aa3069730f5ba0ee4 OS: Debian GNU/Linux 9 Used software: bash: 4.4.12(1)-release curl: curl 7.52.1 awk: GNU Awk 4.1.4, API: 1.1 (GNU MPFR 3.1.5, GNU MP 6.1.2) sed: sed (GNU sed) 4.4 mktemp: mktemp (GNU coreutils) 8.26 grep: grep (GNU grep) 2.27 diff: diff (GNU diffutils) 3.5 openssl: OpenSSL 1.1.0f 25 May 2017 ``` From the Alpine System ``` ./dehydrated -v # INFO: Using main config file /dehydrated/config Dehydrated by Lukas Schauer https://dehydrated.io Dehydrated version: git-master-after-0.6.2 GIT-Revision: 10d4b98e7f1e2c5e0e5b16b0896aa7180e5a88f5 OS: Welcome to Alpine Linux 3.7 Used software: bash: 4.4.19(1)-release curl: curl 7.59.0 awk: awk: warning: option -W is ignored sed: This is not GNU sed version 4.0 mktemp: mktemp: unrecognized option: version grep: grep: unrecognized option: version diff: diff: unrecognized option: version openssl: OpenSSL 1.0.2o 27 Mar 2018 ``` Thanks iGlaedr sorry for the bad grammar
adam closed this issue 2025-12-29 01:23:33 +01:00
Author
Owner

@lukas2511 commented on GitHub (May 20, 2018):

Alpine uses busybox for awk, sed, mktemp, grep, diff and everything else, and those are all just implemented with their very basic feature-set which in some cases just isn't enough. If i remember correctly there are coreutils-$whatever packages on alpine which should replace those busybox symlinks and with those everything should work normally.

@lukas2511 commented on GitHub (May 20, 2018): Alpine uses busybox for awk, sed, mktemp, grep, diff and everything else, and those are all just implemented with their very basic feature-set which in some cases just isn't enough. If i remember correctly there are coreutils-$whatever packages on alpine which should replace those busybox symlinks and with those everything should work normally.
Author
Owner

@jzuellig commented on GitHub (May 20, 2018):

First thanks for the fast reply

I've created a new VM and it dose not work with the coreutils installed and a few other to replace busybox .
Still the the same error.

 ls -la /usr/lib/bash /usr/bin/curl /usr/bin/awk /bin/sed /bin/mktemp /usr/bin/grep /usr/bin/diff /usr/bin/openssl
-rwxr-xr-x 1 root root  38880 Oct 31  2017 /bin/mktemp
-rwxr-xr-x 1 root root 145584 Oct 31  2017 /bin/sed
lrwxrwxrwx 1 root root      4 May 20 13:46 /usr/bin/awk -> gawk
-rwxr-xr-x 1 root root 206776 Mar 19 15:23 /usr/bin/curl
-rwxr-xr-x 1 root root 170040 Oct 31  2017 /usr/bin/diff
-rwxr-xr-x 1 root root 174096 Oct 31  2017 /usr/bin/grep
-rwxr-xr-x 1 root root 504952 Apr  1 23:04 /usr/bin/openssl

/usr/lib/bash:
total 256
drwxr-xr-x 2 root root  4096 May 20 13:18 .
drwxr-xr-x 8 root root  4096 May 20 13:46 ..
-rw-r--r-- 1 root root  2696 Feb  7 20:18 Makefile.inc
-rwxr-xr-x 1 root root  5840 Feb  7 20:18 basename
-rwxr-xr-x 1 root root  5832 Feb  7 20:18 dirname
-rwxr-xr-x 1 root root 14208 Feb  7 20:18 finfo
-rwxr-xr-x 1 root root  9936 Feb  7 20:18 head
-rwxr-xr-x 1 root root  9896 Feb  7 20:18 id
-rwxr-xr-x 1 root root  9952 Feb  7 20:18 ln
-rwxr-xr-x 1 root root  5840 Feb  7 20:18 logname
-rwxr-xr-x 1 root root 10008 Feb  7 20:18 mkdir
-rwxr-xr-x 1 root root  5832 Feb  7 20:18 mypid
-rwxr-xr-x 1 root root  9944 Feb  7 20:18 pathchk
-rwxr-xr-x 1 root root  9936 Feb  7 20:18 print
-rwxr-xr-x 1 root root  5824 Feb  7 20:18 printenv
-rwxr-xr-x 1 root root  9944 Feb  7 20:18 push
-rwxr-xr-x 1 root root  9952 Feb  7 20:18 realpath
-rwxr-xr-x 1 root root  5832 Feb  7 20:18 rmdir
-rwxr-xr-x 1 root root  5848 Feb  7 20:18 setpgid
-rwxr-xr-x 1 root root  5800 Feb  7 20:18 sleep
-rwxr-xr-x 1 root root  5848 Feb  7 20:18 strftime
-rwxr-xr-x 1 root root  5800 Feb  7 20:18 sync
-rwxr-xr-x 1 root root  9944 Feb  7 20:18 tee
-rwxr-xr-x 1 root root  5920 Feb  7 20:18 truefalse
-rwxr-xr-x 1 root root  5848 Feb  7 20:18 tty
-rwxr-xr-x 1 root root  5824 Feb  7 20:18 uname
-rwxr-xr-x 1 root root  5824 Feb  7 20:18 unlink
-rwxr-xr-x 1 root root  5824 Feb  7 20:18 whoami
midgard:/cert/dehydrated# bash ./dehydrated -c
# INFO: Using main config file /cert/dehydrated/config
ERROR: Parsing error in config file.
bash ./dehydrated -v
# INFO: Using main config file /cert/dehydrated/config
Dehydrated by Lukas Schauer
https://dehydrated.io

Dehydrated version: git-master-after-0.6.2
GIT-Revision: 10d4b98e7f1e2c5e0e5b16b0896aa7180e5a88f5

OS: Welcome to Alpine Linux 3.7
Used software:
 bash: 4.4.19(1)-release
 curl: curl 7.59.0
 awk: GNU Awk 4.2.0, API: 2.0
 sed: sed (GNU sed) 4.4
 mktemp: mktemp (GNU coreutils) 8.28
 grep: grep (GNU grep) 3.1
 diff: diff (GNU diffutils) 3.6
 openssl: OpenSSL 1.0.2o  27 Mar 2018
@jzuellig commented on GitHub (May 20, 2018): First thanks for the fast reply I've created a new VM and it dose not work with the coreutils installed and a few other to replace busybox . Still the the same error. ``` ls -la /usr/lib/bash /usr/bin/curl /usr/bin/awk /bin/sed /bin/mktemp /usr/bin/grep /usr/bin/diff /usr/bin/openssl -rwxr-xr-x 1 root root 38880 Oct 31 2017 /bin/mktemp -rwxr-xr-x 1 root root 145584 Oct 31 2017 /bin/sed lrwxrwxrwx 1 root root 4 May 20 13:46 /usr/bin/awk -> gawk -rwxr-xr-x 1 root root 206776 Mar 19 15:23 /usr/bin/curl -rwxr-xr-x 1 root root 170040 Oct 31 2017 /usr/bin/diff -rwxr-xr-x 1 root root 174096 Oct 31 2017 /usr/bin/grep -rwxr-xr-x 1 root root 504952 Apr 1 23:04 /usr/bin/openssl /usr/lib/bash: total 256 drwxr-xr-x 2 root root 4096 May 20 13:18 . drwxr-xr-x 8 root root 4096 May 20 13:46 .. -rw-r--r-- 1 root root 2696 Feb 7 20:18 Makefile.inc -rwxr-xr-x 1 root root 5840 Feb 7 20:18 basename -rwxr-xr-x 1 root root 5832 Feb 7 20:18 dirname -rwxr-xr-x 1 root root 14208 Feb 7 20:18 finfo -rwxr-xr-x 1 root root 9936 Feb 7 20:18 head -rwxr-xr-x 1 root root 9896 Feb 7 20:18 id -rwxr-xr-x 1 root root 9952 Feb 7 20:18 ln -rwxr-xr-x 1 root root 5840 Feb 7 20:18 logname -rwxr-xr-x 1 root root 10008 Feb 7 20:18 mkdir -rwxr-xr-x 1 root root 5832 Feb 7 20:18 mypid -rwxr-xr-x 1 root root 9944 Feb 7 20:18 pathchk -rwxr-xr-x 1 root root 9936 Feb 7 20:18 print -rwxr-xr-x 1 root root 5824 Feb 7 20:18 printenv -rwxr-xr-x 1 root root 9944 Feb 7 20:18 push -rwxr-xr-x 1 root root 9952 Feb 7 20:18 realpath -rwxr-xr-x 1 root root 5832 Feb 7 20:18 rmdir -rwxr-xr-x 1 root root 5848 Feb 7 20:18 setpgid -rwxr-xr-x 1 root root 5800 Feb 7 20:18 sleep -rwxr-xr-x 1 root root 5848 Feb 7 20:18 strftime -rwxr-xr-x 1 root root 5800 Feb 7 20:18 sync -rwxr-xr-x 1 root root 9944 Feb 7 20:18 tee -rwxr-xr-x 1 root root 5920 Feb 7 20:18 truefalse -rwxr-xr-x 1 root root 5848 Feb 7 20:18 tty -rwxr-xr-x 1 root root 5824 Feb 7 20:18 uname -rwxr-xr-x 1 root root 5824 Feb 7 20:18 unlink -rwxr-xr-x 1 root root 5824 Feb 7 20:18 whoami midgard:/cert/dehydrated# bash ./dehydrated -c # INFO: Using main config file /cert/dehydrated/config ERROR: Parsing error in config file. ``` ``` bash ./dehydrated -v # INFO: Using main config file /cert/dehydrated/config Dehydrated by Lukas Schauer https://dehydrated.io Dehydrated version: git-master-after-0.6.2 GIT-Revision: 10d4b98e7f1e2c5e0e5b16b0896aa7180e5a88f5 OS: Welcome to Alpine Linux 3.7 Used software: bash: 4.4.19(1)-release curl: curl 7.59.0 awk: GNU Awk 4.2.0, API: 2.0 sed: sed (GNU sed) 4.4 mktemp: mktemp (GNU coreutils) 8.28 grep: grep (GNU grep) 3.1 diff: diff (GNU diffutils) 3.6 openssl: OpenSSL 1.0.2o 27 Mar 2018 ```
Author
Owner

@lukas2511 commented on GitHub (May 22, 2018):

Could you run bash -x ./dehydrated -c and post the last few lines?

@lukas2511 commented on GitHub (May 22, 2018): Could you run `bash -x ./dehydrated -c` and post the last few lines?
Author
Owner

@jzuellig commented on GitHub (May 22, 2018):

I've found the problem myself it was a Problem with the ads-acm client config.
Thanks for the help

@jzuellig commented on GitHub (May 22, 2018): I've found the problem myself it was a Problem with the ads-acm client config. Thanks for the help
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#350