ddavness / power-mailinabox

A Mail-in-a-Box with extra capabilities and more customizability. Not just for power users!
Creative Commons Zero v1.0 Universal
172 stars 32 forks source link

Install issue #32

Closed x-FBi closed 3 years ago

x-FBi commented 3 years ago

Had this at the end of my install.

setup/start.sh: line 155: 20701 Segmentation fault      certbot register --register-unsafely-without-email --agree-tos --config-dir $STORAGE_ROOT/ssl/lets_encrypt
ddavness commented 3 years ago

Yeah that is super weird, never seen that before.

Did you try repeating the install? If so, did it segfault again? (such thing is super unlikely to happen as certbot is written in python)

By curiosity - who is your VPS provider? Specifically to make sure its not something specific from their images.

x-FBi commented 3 years ago

VEESP. It may be from rDNS being given to another name. I haven't used this server in years and they locked me out of my control panel lol. So I have a different rDNS from the provider.

x-FBi commented 3 years ago

Does it matter that python2 is the default environment?

root@box:~# apt install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
python is already the newest version (2.7.16-1).
python set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@box:~# apt install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@box:~# python --version
Python 2.7.16
root@box:~# certbot
Segmentation fault
x-FBi commented 3 years ago
root@box:~# dmesg | grep certbot
[ 3423.729114] traps: certbot[20701] general protection fault ip:7f6dc0b566a5 sp:7ffecc3f63b8 error:0 in libreadline.so.7.0[7f6dc0b33000+44000]
[ 3906.715187] traps: certbot[21728] general protection fault ip:7f66749056a5 sp:7ffce56f8098 error:0 in libreadline.so.7.0[7f66748e2000+44000]
[ 3925.491841] traps: certbot[21732] general protection fault ip:7fd5182af6a5 sp:7ffeab791518 error:0 in libreadline.so.7.0[7fd51828c000+44000]
[ 3946.946208] traps: certbot[21736] general protection fault ip:7f2f1302f6a5 sp:7fff015260b8 error:0 in libreadline.so.7.0[7f2f1300c000+44000]
[ 4044.025930] traps: certbot[21744] general protection fault ip:7f4734f5d6a5 sp:7fffb067a2a8 error:0 in libreadline.so.7.0[7f4734f3a000+44000]
[ 7906.031395] traps: certbot[28608] general protection fault ip:7f2510ed36a5 sp:7ffec623d0b8 error:0 in libreadline.so.7.0[7f2510eb0000+44000]
[ 7918.725211] traps: certbot[28614] general protection fault ip:7f814dc9a6a5 sp:7ffeba2add58 error:0 in libreadline.so.7.0[7f814dc77000+44000]
[ 8070.384803] traps: certbot[28652] general protection fault ip:7fed8eeaa6a5 sp:7ffee7af6ff8 error:0 in libreadline.so.7.0[7fed8ee87000+44000]
[ 8164.189144] traps: certbot[29121] general protection fault ip:7faff64c06a5 sp:7ffdcad5ca98 error:0 in libreadline.so.7.0[7faff649d000+44000]
[ 8331.416337] traps: certbot[29148] general protection fault ip:7f58c5d3a6a5 sp:7ffe45a03008 error:0 in libreadline.so.7.0[7f58c5d17000+44000]
[ 8335.993053] traps: certbot[29155] general protection fault ip:7f294c4ba6a5 sp:7ffd02b89c48 error:0 in libreadline.so.7.0[7f294c497000+44000]
[ 8573.702458] traps: certbot[29632] general protection fault ip:7f4b7666f6a5 sp:7ffe6e2909d8 error:0 in libreadline.so.7.0[7f4b7664c000+44000]
[ 8738.914194] traps: certbot[30432] general protection fault ip:7f5ac9c9f6a5 sp:7ffe8ace2598 error:0 in libreadline.so.7.0[7f5ac9c7c000+44000]
[ 8772.547876] traps: certbot[30565] general protection fault ip:7f180d5396a5 sp:7ffe228bace8 error:0 in libreadline.so.7.0[7f180d516000+44000]
[ 8778.174432] traps: certbot[30567] general protection fault ip:7f4236c786a5 sp:7fff9ef15a28 error:0 in libreadline.so.7.0[7f4236c55000+44000]
x-FBi commented 3 years ago

I fixed this error by removing your certbot, I assume from apt install certbot and used certbots snapd install instructions. For whatever reason, I had to run provision a few times to get all the certs. It's working now.

x-FBi commented 3 years ago

I tried a different image of Debian Buster and it worked as designed.