Open KeiroD opened 5 years ago
Hmmm... seems to be mainly due to using PHP 7.2 on this server. I'm still working out how to fix this, but I noticed the following:
root@mail:~/mailinabox/setup# grep php-curl -r
nextcloud.sh: php-cli php-sqlite3 php-gd php-imap php-curl php-pear curl \
webmail.sh: php-cli php-sqlite3 php-intl php-json php-common php-curl \
This will probably need to be updated so someone doesn't get caught in the php and php7.2 loop hell that I'm in. There appears to be PHP 7.2 variants of the same but I'm not sure if php-fpm will work here.
Hmm. Working through the install, it seems libcurl3 gets uninstalled by one of the other packages... working on figuring out which one's doing that.
Edit2: apt logs doesn't indicate which part of the script is causing libcurl4 to be installed, thereby removing libcurl3 in the process. Here's what happens whenever I run ./setup/start.sh
:
Log started: 2018-10-22 18:56:09
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 108361 files and directories currently installed.)
Removing libcurl3:amd64 (7.58.0-2ubuntu2) ...
Selecting previously unselected package libcurl4:amd64.
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 108355 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.58.0-2ubuntu3.3_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.3) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.58.0-2ubuntu3.3_amd64.deb ...
Unpacking curl (7.58.0-2ubuntu3.3) ...
Selecting previously unselected package pollinate.
Preparing to unpack .../pollinate_4.33-0ubuntu1~18.04.1_all.deb ...
Unpacking pollinate (4.33-0ubuntu1~18.04.1) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3.3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up curl (7.58.0-2ubuntu3.3) ...
Setting up pollinate (4.33-0ubuntu1~18.04.1) ...
Log ended: 2018-10-22 18:56:15
Edit3: Hmm... so removing php7.2-curl
from the script and manually installing it still causes curl
to be installed, forcefully removing libcurl3
. I'm unable to determine exactly what other bit is installing curl
, which is irritating.
Edit4: Seems something in the nextcloud configuration is preventing MIAB from properly working...
Let me know if you want access to the server.
Seems there's an issue with libcurl4/libcurl3 with php 7.2:
From here, I reinstall the package it asks for and...
... Bit of a chicken and egg problem here.