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.

Problem: Usershare Config gone

Featured Replies

Hi,

 

i'm using Unraid 4.5. Everything worked great untill yesterday. My Usershare "Media" is gone. Luckily the files are still on the disk. But I need to access the Files through this usershare on my Popcorn Hour. I tried to create a new usershare called "media" but i can't see my files inside the media folder. The files itself are still stored at \\diskx\Media\Movies\. I didn't backup my config :(. How can I reassign the "Media" Usershare with all my movies inside?

 

Thanks a lot.

That once happened to me as well. After reboot everything was fine. Did you try that? Save your syslog before rebooting as it may contain useful information.

  • Author

I viewd the config usershare file on the flash drive and it is empty. There are no parameters set. Sadly a restart didn't help.

 

Share config:

 

# Generated settings:

shareExport=e

shareExportNfs=

shareComment=

shareValidUsers=

shareInvalidUsers=

shareExceptions=

shareInclude=

shareExclude=

shareUseCache=yes

shareAllocator=mostfree

shareSplitLevel=4

shareFloor=

Did you save the syslog before rebooting? If yes, please post it.

  • Author

Nope I tried rebooting the other day, but didn't save the syslog back than :(. Thought the reboot may help. But didn't think about the syslog.

Perhaps the more experienced users can confirm my solution:

 

You recreated a Media share, now create a folder 'Media' on each disk containing movies. Move you movies to this folder. Since you won't move content around physically, it should be a matter of minutes.

  • Author

Funny thing as soon as I create a share and restart the unraid server he ignores the usershareconfig. The Webpage of tower shows no entry. Here is the syslog hopefully it 'll help.

syslog.txt

Coulb be that the configuration changes are not written to the flash drive. I would recommend you to plug the flash drive on a windows pc and check the filesystem. Don't forget to properly eject the usb drive on windows.

  • Author

that didn't work. Checked it. Nothing unusual found by Windows. When checking the config file in \\tower\flash\config\shares the date of change seems correct after creating a new usershare. The entrys are still in the cfg but seems like unraid ignores those files.

  • Author

I now deleted the share folder with the configfiles on the flashdrive. Shutdown the tower and restarted it. Afterwards i configured a new usershare. Shutdown and restarted. The new Share doesn't show up. But the config file is correctly created and saved in \\tower\flash\config\shares. Seems like its just ignored.

 

Please help!!

I use disk shares to export a folder across multiple hard disks. I think that is what you are trying to do. I have the following file:

 

Location: \\TOWER\flash\config\share.cfg

 

Contents:

# Generated settings:

shareFlash=e

shareDisk=eh

shareDiskNfs=

shareUser=e

shareSecurity=none

shareInitialOwner=Administrator

shareInitialGroup="Domain Users"

shareMoverSchedule="40 3 * * *"

shareMoverLogging=no

shareCacheFloor=2000000

 

 

I also have a file for each user exported share. An example is below.

 

Location: \\TOWER\flash\config\shares\Backups.cfg

 

Contents:

# Generated settings:

shareExport=e

shareExportNfs=

shareComment=

shareValidUsers=

shareInvalidUsers=

shareExceptions=

shareInclude=disk15

shareExclude=

shareUseCache=no

shareAllocator=highwater

shareSplitLevel=0

shareFloor=0

 

I do not recommend that you edit the files. I believe that UnRAID will recreate the share.cfg file. I know it will recreate the user exported share files. Verify that they exist and that they look similar. If you choose to edit them make sure that you use a Linux aware editor so that there are only Line Feeds at the end of each line. I use EditPad Lite on Windows.

 

  • Author

I did not edit those files. Just deleted the entire folder \\tower\flash\config\shares\ to see if unraid would recreate the folder and the config-file. Which unraid did.

 

Those are my current configs crested through the webinterface of unraid:

 

Location: \\TOWER\flash\config\share.cfg

 

# Generated settings:

shareFlash=e

shareDisk=e

shareDiskNfs=

shareUser=e

shareSecurity=none

shareInitialOwner=Administrator

shareInitialGroup="Domain Users"

shareMoverSchedule="40 3 * * *"

shareMoverLogging=yes

shareCacheFloor=

 

\\tower\flash\config\shares\Mediathek.cfg

# Generated settings:

shareExport=e

shareExportNfs=

shareComment="Alle meine Filme"

shareValidUsers=

shareInvalidUsers=

shareExceptions=

shareInclude=

shareExclude=

shareUseCache=yes

shareAllocator=mostfree

shareSplitLevel=

shareFloor=

perhaps Samba is not starting properly

 

try

 

/etc/rc.d/rc.samba start

 

and see if that solves your problem.

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.