Crash while trying to build docker images (#4)
Closed
Evert Elias Andonov opened 6 months ago

The error:

1732.6   CXXLD    libgroonga.la
1734.3 ../libtool: cd: line 5164: can't cd to lib: No such file or directory
1734.3 libtool:   error: cannot determine absolute directory name of 'lib'
1734.3 make[4]: *** [Makefile:1002: libgroonga.la] Error 1
1734.3 make[4]: Leaving directory '/build/pgroonga-3.1.5/vendor/groonga-13.0.8/lib'
1734.3 make[3]: *** [Makefile:1180: all-recursive] Error 1
1734.3 make[3]: Leaving directory '/build/pgroonga-3.1.5/vendor/groonga-13.0.8/lib'
1734.3 make[2]: Leaving directory '/build/pgroonga-3.1.5/vendor/groonga-13.0.8/lib'
1734.3 make[2]: *** [Makefile:920: all] Error 2
1734.3 make[1]: *** [Makefile:656: all-recursive] Error 1
1734.3 make[1]: Leaving directory '/build/pgroonga-3.1.5/vendor/groonga-13.0.8'
1734.3 make: *** [Makefile:535: all] Error 2
------
failed to solve: process "/bin/sh -c mkdir build &&   cd build &&   wget https://packages.groonga.org/source/pgroonga/pgroonga-${PGROONGA_VERSION}.tar.gz &&   tar xf pgroonga-${PGROONGA_VERSION}.tar.gz &&   wget https://packages.groonga.org/source/groonga/groonga-${GROONGA_VERSION}.tar.gz &&   tar xf groonga-${GROONGA_VERSION}.tar.gz -C pgroonga-${PGROONGA_VERSION}/vendor &&   cd pgroonga-${PGROONGA_VERSION}/vendor/groonga-${GROONGA_VERSION} &&   ./configure     --prefix=/usr/local     --disable-groonga-httpd     --disable-document     --disable-glibtest     --disable-benchmark     --enable-mruby &&   make -j$(nproc) &&   make install &&   cd ../../ &&   make PGRN_DEBUG=yes HAVE_MSGPACK=1 MSGPACK_PACKAGE_NAME=msgpack-c -j$(nproc) &&   make install" did not complete successfully: exit code: 2
honcho commented 5 months ago

Think I reworked the database build a while back. Feel free to try again. And sorry for the late reply, made sure to watch all notifications for the repo.

Evert Elias Andonov commented 5 months ago

Now it builds but when starting the stack I get this error:

nekohouse-redis     | redis {tymestamp} ERROR ==> The REDIS_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow the container to be started with blank passwords. This is recommended only for development.
nekohouse-redis exited with code 1

The site does run but when I try to register an account I get this error:

redis.exceptions.ConnectionError: Error -3 connecting to nekohouse-redis:6379. Temporary failure in name resolution.

For all intents and purposes REDIS_PASSWORD or ALLOW_EMPTY_PASSWORD is required for the stack to work. So the repo has to provide instructions on how to generate the password and pass it as an environment variable.

honcho commented 5 months ago

In production, the configuration uses ALLOW_EMPTY_PASSWORD=yes... for the record, the databases are only accessible through the internal Docker network at the moment :) I just added it to the compose file, it should've been there.

Evert Elias Andonov changed state to 'Closed' 4 months ago
Previous Value Current Value
Open
Closed
Evert Elias Andonov commented 4 months ago

The latest commit did fix it.

issue 1 of 1
Type
Bug
Priority
Major
Assignees
Not assigned
Issue Votes (0)
Watchers (2)
Reference
Nekomod#4
Please wait...
Page is in error, reload to recover