This repository was archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Couch DB exit with error with default configuration #29
Copy link
Copy link
Open
Description
Hi,
I'm new with Cozy, but not new with docker...
I tried to use this containers, and the main container enter a loop quickly after starting, it seems that couchdb fail to start, and supervisor is entering a loop trying to restart it for ever.
cozy_1 | 2016-10-10 16:14:41,146 INFO spawned: 'couchdb' with pid 3621
cozy_1 | 2016-10-10 16:14:41,333 INFO reaped unknown pid 3641
cozy_1 | 2016-10-10 16:14:42,069 INFO exited: couchdb (exit status 1; not expected)
I entered in my cozy container ( docker-compose exec cozy bash
) to have a deeper look into logs.
I found this :
=ERROR REPORT==== 10-Oct-2016::16:11:04 ===
File operation error: eacces. Target: /root/ebin. Function: read_file_info. Process: code_server.
Apache CouchDB 1.5.0 (LogLevel=info) is starting.
[error] [<0.129.0>] Could not open file /var/lib/couchdb/_users.couch: permission denied
....
{error_logger,{{2016,10,10},{16,11,7}},std_error,"File operation error: eacces. Target: /root/ebin. Function: read_file_info. Process: code_server."}
I test by setting my local folder with 777 to see what changes, it seems to work for couchDB, but then it's nginx which exit with error :
nginx: [emerg] BIO_new_file("/etc/cozy/server.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/cozy/server.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
I think that the main problem is that some things (I don't know Cozy enough) are created during the build of the container in this directories, but after, when starting with docker-compose up
, this things are lost...
Metadata
Metadata
Assignees
Labels
No labels