Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker mongo config file is a directory

Featured Replies

Hello,

 

I'm trying to use mongodb with a docker container.
I've downloaded the dockerhub mongo container and i'm trying to pass --conf as a parameter

I've made a mongod.conf in /mnt/user/appdata/mongodb/

And i have added to my docker advanced config a post parameter -f /mnt/user/appdata/mongodb/mongod.conf

The docker download ans finished with success, but doesn't start and when i see logs i see that unraid think my mongod.conf file is a directory.

 

Down here you can find the log error and my conf file

docker_error.PNG

docker_confi.PNG

  • 10 months later...

I have same problem.

I don't know why, but resolved it removing special permission attributes of mongod.conf file, put the own of file to 999:999 (mongodb user in container) and chmod 644 to file.

I hope this is useful for you.

[/share/apps/mongo/conf] # ll
total 32K
drwxrwxrwx 2   999            999 4.0K 2021-02-01 12:00 ./
drwxrwxrwx 6 admin administrators 4.0K 2021-02-01 11:43 ../
-rwxrwx--- 1 Jose  everyone        645 2021-02-01 12:00 mongod.conf*
-rw-rw---- 1   999            999  348 2021-02-01 11:27 readme.txt
[/share/apps/mongo/conf] # cat mongod.conf > mongod.conf2
[/share/apps/mongo/conf] # rm mongod.conf
[/share/apps/mongo/conf] # mv mongod.conf2 mongod.conf  
[/share/apps/mongo/conf] # chown 999:999 mongod.conf 
[/share/apps/mongo/conf] # ll
total 32K
drwxrwxrwx 2   999            999 4.0K 2021-02-01 12:02 ./
drwxrwxrwx 6 admin administrators 4.0K 2021-02-01 11:43 ../
-rw-rw---- 1   999            999  645 2021-02-01 12:01 mongod.conf
-rw-rw---- 1   999            999  348 2021-02-01 11:27 readme.txt

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.