Hi! First of all thank you for sharing your code and the tutorial. I work at Uppsala University Library and I am trying to get this working on my dev server.
I have followed your tutorial and only changed a few paths. At first it seems as everything is working good but when I look at the logs I see this:
[root@uub-sll-pws01 docker-vufind-pgsql]# docker-compose up -d
Creating network "docker-vufind-pgsql_default" with the default driver
Creating vufindweb ... done
Creating vufinddb ... done
Creating vufind701 ... done
[root@uub-sll-pws01 docker-vufind-pgsql]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
595c58c7be50 chialab/php:7.2-apache "docker-php-entrypoiβ¦" 10 seconds ago Up 7 seconds 80/tcp, 0.0.0.0:81->81/tcp vufindweb
[root@uub-sll-pws01 docker-vufind-pgsql]# docker-compose logs -f
Attaching to vufind701, vufinddb, vufindweb
vufind701 | /usr/local/vufind/solr/vendor/bin/solr: line 1452: [: unlimited: integer expression expected
vufind701 | whoami: cannot find name for user ID 1000
vufindweb | mkdir: cannot create directory '/usr/local/vufind/local/cache/cli': File exists
vufindweb | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.19.0.4. Set the 'ServerName' directive globally to suppress this message
vufindweb | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.19.0.4. Set the 'ServerName' directive globally to suppress this message
vufindweb | [Wed Dec 02 19:02:36.478342 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.2.34 configured -- resuming normal operations
vufinddb | chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
vufindweb | [Wed Dec 02 19:02:36.481065 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
vufind701 | Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/vufind/solr/vufind/logs/solr-8983-console.log -> /usr/local/vufind/solr/vufind/logs/archived/solr-8983-console.log
vufind701 | at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
vufind701 | at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
vufinddb exited with code 1
vufind701 | at java.base/sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:476)
vufind701 | at java.base/sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:266)
vufind701 | at java.base/java.nio.file.Files.move(Files.java:1426)
vufind701 | at org.apache.solr.util.SolrCLI$UtilsTool.archiveConsoleLogs(SolrCLI.java:4305)
vufind701 | at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:4248)
vufind701 | at org.apache.solr.util.SolrCLI.main(SolrCLI.java:282)
vufind701 | Failed archiving old console logs
vufind701 |
vufind701 | ERROR: Logs directory /usr/local/vufind/solr/vufind/logs is not writable. Exiting
vufind701 exited with code 1
Most certainly I have several issues going on but I am hoping that you might know how to solve some of them.