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.

Corrupted Config folder on USB drive..... 2 issues remain after my recovery

Featured Replies

Hey folks -
 

I've rebuilt my server on 6.12.6 using the config folder and syslog information from a diagnostics zip that I had from a month ago, onto a new USB key with a new License. I promise to back it up from now on.

 

But (2) things are still problematic:

 

  1. I can no longer edit my docker containers.
    Unraid-DockerConfigOptions.PNG.0763458c2b1d77b795eaa6535c9b6945.PNG
  2. My SMB shares are no longer viewable from my Window desktop, are not editable when I browse them from the GUI, and show nothing under the SMB column when viewing the Share Tab.
    Unraid-ShareTab.thumb.PNG.779ef34f97b13ef1bb8dde0be59faf38.PNG

 

Any suggestions for getting either of these back to "normal"?

Thanks!

Solved by jeradc

  • Community Expert

Are the shares being exported? For the containers you are likely missing the docker user templates, if you don't have a backup will need to re-install them.

  • Author
8 hours ago, JorgeB said:

Are the shares being exported? For the containers you are likely missing the docker user templates, if you don't have a backup will need to re-install them.

1) I guess since I don't know what a share export is.... they are not.
 

2) I don't have a backup. Is there a way to access their current configuration for me to manually write down their settings before I reinstall? Everything is running correctly, but remembering each share, port, etc. is impossible.

 

Maybe in a super.dat file I've read a bit about?

 

Thanks.

  • Community Expert

Click on the share(s) then change Export to "Yes".

 

30 minutes ago, jeradc said:

Is there a way to access their current configuration for me to manually write down their settings before I reinstall?

Not sure.

  • Author

Setting Export to yes, enabled the shares to be remotely accessible. That issue is resolved.

  • Unraid-SharePublic.thumb.PNG.9c207997d732629ee0b819c8273c82f6.PNG

I'm not able to manage the files from the GUI though, like I used to. I thought that was native behavior, and not a plugin. Previously I was able to choose the files/folders, and then take actions that were listed across the bottom (or all the way on the right had side via a drop down.

  • Unraid_Shares.thumb.PNG.8ed1e3d6f2f900ad16956fca56edefe6.PNG

 

Still no progress on finding the docker settings....

Edited by jeradc

  • Community Expert
3 hours ago, jeradc said:

not able to manage the files from the GUI though, like I used to. I thought that was native behavior, and not a plugin

Dynamix File Manager plugin

 

3 hours ago, jeradc said:

Still no progress on finding the docker settings....

The templates the webUI needs to work on your containers is on flash in config/plugins/dockerMan/templates-user. If you don't have those you will have to set them up again. As long as you do them exactly as before then they should work with your existing appdata.

  • Author
13 minutes ago, trurl said:

Dynamix File Manager plugin

 

The templates the webUI needs to work on your containers is on flash in config/plugins/dockerMan/templates-user. If you don't have those you will have to set them up again. As long as you do them exactly as before then they should work with your existing appdata.

Thank you.

 

re: Docker

-------------------------------------

I was hoping to find the location of the docker compose yaml file, or whatever, that is currently storing my docker settings. I do NOT have the templates, but everything is configured and running as before.

 

So somewhere on my server in unraid-land, these docker settings (port mappings, volume mappings, etc.) must be saved.Unraid-DockerMappings.thumb.PNG.c54330c1c52d01d2bd2b452d44db3892.PNG

 

I'll keep looking for it.

  • Community Expert
22 minutes ago, jeradc said:

these docker settings (port mappings, volume mappings, etc.) must be saved

 

These settings are exactly the contents of the templates I mentioned. They were on the flash drive.

  • Author

I dont understand how that can be true when I have (21) docker containers configured and running right now.... and the config folder is completely empty.

  • Unraid-MissingDockerConfigs.PNG.5ae96f8b3fc6c63b3c39b25aa6771790.PNG

I'm assuming the template folder is just a prettified version of a docker compose yaml file or something.

  • Community Expert

Your containers still exist in docker.img, but the settings from the webUI form on the Add/Edit Container page that were used to create them were saved in XML files on the flash drive in those templates.

 

Without those, the webUI doesn't have anything to work with as far as editing them. The webUI can only issue the commands to start, stop, etc. 

 

Nothing about the Unraid OS and its settings is installed or saved on any of your storage. The flash drive contains archives of the OS. These archives are unpacked fresh at each boot, into RAM, and the OS runs completely in RAM. Think of it as firmware.

 

Settings for your particular configuration, which is all of the things you can configure in the webUI, are saved on the flash drive so these settings can be reapplied at boot.

  • Community Expert
26 minutes ago, jeradc said:

template folder is just a prettified version of a docker compose yaml file or something

That template folder had XML files, one for each of your containers. The contents of one of those XML files had all the things entered in the form on the webUI Add/Edit container page for that container. These were used in a docker run command which created the container.

 

Create a new container from the Apps page and check it out for yourself. You will get the Add Container page with its entries, some of them preconfigured with defaults according to the template provided by the template author for that container. When you submit the form on the page, the docker run command is issued and you can see it for yourself on the screen. And the contents of that form is also saved on your flash drive in that templates folder I mentioned.

  • Community Expert

And, if you do create a new container that way, you will be able to edit it since its template can be loaded into the Edit Container page form.

  • 1 year later...
  • Author
  • Solution

I typed a reply in my notes, but never copy/pasted here. I just found them, so for future reference:

 

Why:

  • Useful for docker containers like DuckDNS that have fields not list in the Unraid GUI like "Subdomain" and "Token", Plex for the "Plex Claim Token", and NordLynx "Private Key".

 

How:

  • Use this docker inspect library to get more details on what's running on the system:
https://gist.github.com/efrecon/8ce9c75d518b6eb863f667442d7bc679

 

  • Run the following command to get a list of all docker guid's on your system (this is also available in the UI, by toggling "Basic View" on the Docker Tab)
docker ps -a

 

  • Then, for each container you need the details from, update the GUID appropriately and run the following full command shown below.

 

Example:


DuckDNS:

docker inspect \
--format "$(curl -s https://gist.githubusercontent.com/efrecon/8ce9c75d518b6eb863f667442d7bc679/raw/run.tpl)" \
884a92747365

 

image.thumb.png.41744aceac74b3525516aa5d92c12772.png

 

 Note: You will need to expose the QbitTorrent Web UI port by adding a port to the container. (reference the "--expose "xxxx/tcp" line from our docker inspect command)

 

Edited by jeradc

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.