Hallo, wer kennt sich mit Nextcloud / Nextant aus?
Ubuntu server 16.04 funktioniert
Nextcloud 10.0.4 funktioniert
Nextcloud Datenbank ist verschlüsselt !
Ich möchte nun eine Volltextsuche (Index) installieren per app, search lucene scheidet wegen der Verschlüsselten Datenbank aus !
Lösung Die Nextant app, diese benötigt die Suchmaschine Solr, Es gibt eine Installationsanleitung für Solr unter Nextcloud/Nextant https://github.com/nextcloud/nextant/wiki/Setup-your-local-standalone-Solr
Die installation klappt, beim Start kommen dann Fehler:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | sonja@nextcloud1-NUC:/opt/solr/solr-6.5.0$ bin/solr start Exception in thread "main" java.nio.file.AccessDeniedException: /opt/solr/solr-6.5.0/server/logs at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) at java.nio.file.Files.createDirectory(Files.java:674) at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) at java.nio.file.Files.createDirectories(Files.java:767) at org.apache.solr.util.SolrCLI$UtilsTool.archiveGcLogs(SolrCLI.java:3565) at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:3548) at org.apache.solr.util.SolrCLI.main(SolrCLI.java:250) Failed archiving old GC logs Exception in thread "main" java.nio.file.AccessDeniedException: /opt/solr/solr-6.5.0/server/logs at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) at java.nio.file.Files.createDirectory(Files.java:674) at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) at java.nio.file.Files.createDirectories(Files.java:767) at org.apache.solr.util.SolrCLI$UtilsTool.archiveConsoleLogs(SolrCLI.java:3594) at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:3551) at org.apache.solr.util.SolrCLI.main(SolrCLI.java:250) Failed archiving old console logs ERROR: Logs directory /opt/solr/solr-6.5.0/server/logs could not be created. Exiting |
Falls ich Solr als sudo starten will:
1 2 3 4 | sonja@nextcloud1-NUC:/opt/solr/solr-6.5.0$ sudo bin/solr start [sudo] Passwort für sonja: WARNING: Starting Solr as the root user is a security risk and not considered best practice. Exiting. Please consult the Reference Guide. To override this check, start with argument '-force' |
Moderiert von Vej:
Dieser Beitrag wurde aus System einrichten und verwaltenin ein passenderes Forum verschoben. Bitte beachtedie Forenbeschreibungen und die als wichtig markierten Themen am Beginn der Foren.