altendky / docker-compose-phabricator-jenkins

4 stars 2 forks source link

Unable to load dynamic library '/opt/bitnami/php/lib/php/extensions/apcu.so' #3

Closed altendky closed 6 years ago

altendky commented 6 years ago

@amosbird, let's move https://github.com/altendky/docker-compose-phabricator-jenkins/issues/2#issuecomment-408368869 over here.


Hi, I'm trying to set up a phabricator with ssh. I came across this repo and adopted your Dockerfile for phabricator. However, the container fails to work. I got

executing 'postInstallation': PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/bitnami/php/lib/php/extensions/apcu.so' - /opt/bitnami/php/lib/php/extensions/apcu.so: cannot open shared object file: No such file or directory in Unknown on line 0
altendky commented 6 years ago

Could you share the Dockerfile or docker-compose.yml and the full log (and where you got the log)?

I just spun up my docker-compose.yml from a fresh clone and I don't see that message. Though, I can confirm I do not have that file either.

root@9ac6bfed8232:/opt/bitnami/php/lib/php/extensions# ls -l
total 2076
-rwxr-xr-x 1 root root 1103944 Oct 27  2017 imap.so
-rwxr-xr-x 1 root root  746408 Oct 27  2017 opcache.so
-rwxr-xr-x 1 root root   29800 Oct 27  2017 pdo_dblib.so
-rwxr-xr-x 1 root root   49704 Oct 27  2017 pdo_pgsql.so
-rwxr-xr-x 1 root root  181880 Oct 27  2017 pgsql.so
full startup log ``` , Welcome to the Bitnami phabricator container, Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-phabricator, Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-phabricator/issues, , nami INFO Initializing apache, apache INFO ==> Patching httpoxy..., nami INFO apache successfully initialized, nami INFO Initializing php, nami INFO php successfully initialized, nami INFO Initializing phabricator, phabric INFO Creating Phabricator system users..., phabric INFO Creating Phabricator temporary folders..., phabric INFO Configuring Apache settings..., phabric INFO Configuring PHP settings..., phabric INFO Checking connection to database..., mysql-c INFO Trying to connect to MySQL server, mysql-c INFO Found MySQL server listening at mariadb:3306, mysql-c INFO MySQL server listening and working at mariadb:3306, phabric INFO Creating Database..., phabric INFO Configuring Phabricator..., phabric INFO , phabric INFO ########################################################################, phabric INFO Installation parameters for phabricator:, phabric INFO Host: phabricator.local, phabric INFO First Name: FirstName, phabric INFO Last Name: LastName, phabric INFO Username: user, phabric INFO Password: **********, phabric INFO Email: user@example.com, phabric INFO (Passwords are not shown for security reasons), phabric INFO ########################################################################, phabric INFO , nami INFO phabricator successfully initialized, INFO ==> Starting phabricator... , Starting OpenBSD Secure Shell server: sshd., 127.0.0.1 - - [27/Jul/2018:11:35:00 +0000] "GET /res/defaultX/phabricator/e452721e/core.pkg.js HTTP/1.1" 200 198052, 127.0.0.1 - - [27/Jul/2018:11:35:00 +0000] "GET /res/defaultX/phabricator/638a4e2b/rsrc/externals/javelin/core/init.js HTTP/1.1" 200 3529, 127.0.0.1 - - [27/Jul/2018:11:35:00 +0000] "GET /logout HTTP/1.1" 302 -, 127.0.0.1 - - [27/Jul/2018:11:35:00 +0000] "GET /logout/ HTTP/1.1" 200 22502, 127.0.0.1 - - [27/Jul/2018:11:35:01 +0000] "GET /res/defaultX/phabricator/638a4e2b/rsrc/externals/javelin/core/init.js HTTP/1.1" 200 3529, 127.0.0.1 - - [27/Jul/2018:11:35:01 +0000] "GET /res/defaultX/phabricator/e452721e/core.pkg.js HTTP/1.1" 200 198052, 127.0.0.1 - - [27/Jul/2018:11:35:01 +0000] "POST /logout/ HTTP/1.1" 302 -, 127.0.0.1 - - [27/Jul/2018:11:35:01 +0000] "GET /auth/loggedout/ HTTP/1.1" 200 5158, 127.0.0.1 - - [27/Jul/2018:11:35:01 +0000] "GET /res/defaultX/phabricator/638a4e2b/rsrc/externals/javelin/core/init.js HTTP/1.1" 200 3529, 127.0.0.1 - - [27/Jul/2018:11:35:01 +0000] "GET /res/defaultX/phabricator/e452721e/core.pkg.js HTTP/1.1" 200 198052, phabric INFO Checking database connection before trying to start Phabricator daemons..., mysql-c INFO Trying to connect to MySQL server, mysql-c INFO Found MySQL server listening at mariadb:3306, mysql-c INFO MySQL server listening and working at mariadb:3306, [27-Jul-2018 11:35:06 UTC] 2018-07-27 11:35:06 AM [OVER] Started new daemon overseer (with PID "336")., ```
amosbird commented 6 years ago

Hmm, it works after I restart docker service. I suppose there might be a conflict of the old container's volume.

altendky commented 6 years ago

@amosbird, shall we close this? Or are you still having issues?

amosbird commented 6 years ago

Yeah, thanks for this project :-)