linagora / linshare-docker

Other
53 stars 16 forks source link

Won't start #15

Closed mightywomble closed 2 years ago

mightywomble commented 3 years ago

The linshare_backend is throwing a java exception based on

java.io.FileNotFoundException: /etc/linshare/id_rsa (No such file or directory) java.io.FileNotFoundException: /etc/linshare/id_rsa.pub

Had a trawl through the code and instructions can't see where to put these.

fmartin-linagora commented 3 years ago

Hi, If LinShare does not find these files, it will skip them. What is the version of LinShare you are trying to use ?

mightywomble commented 3 years ago

I did a Git clone today of this repo and can assure you there is a rather epic java fail..

Where is it looking and is that volume mapped to a, place I can put the files?

David Field http://tech.davidfield.co.uk On 12 Apr 2021, 16:12 +0100, Frédéric MARTIN @.***>, wrote:

Hi, If LinShare does not find these files, it will skip them. What is the version of LinShare you are trying to use ? —You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

fmartin-linagora commented 3 years ago

So I cloned the repository and launch the master branch. There is indeed an issue but not related to the id_rsa keys.

There is an issue with mongodb configuration :

linshare_backend     | Caused by: java.lang.IllegalArgumentException: Could not resolve at least one server of the replica set configuration! Validate
fmartin-linagora commented 3 years ago

weird, I don't know why yet. I will look at it ASAP.

fmartin-linagora commented 3 years ago

Hi, I did not notice at first, but i had some old data remaining (data folder), i removed it to start LinShare from scratch and it works perfectly. can you provide us more logs ?