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.

Cache disk crashed. How to restore dockers?

Featured Replies

So my cache disk is undetectable. I use backup appdata plugin and that has a backup from a few days ago. I installed a new cache disk and did a restore. After that I restarted docker and then went to the docker tab but the page is blank. 

 

If i go to add container, I can see user templates under there. Is this the correct way to restore?

 

Also need help with a docker I installed using portainer - I am hosting my own zerotier controller. The instalation of the same isnt through community applications. It is installed using stacks through portainer as described here - 

 

 

I'm not very good with docker. Is there a chance I can recover this docker data? Because that has all my zerotier networks etc. Would be very painful to lose those. How should I reinstall this to recover the previous data?

 

Below are the contents of the stack


 

version: "3"


services:
  ztncui:
    image: keynetworks/ztncui
    container_name: ztncui
    environment:
      - USER_UID=99 #adjust to your system
      - USER_GID=100 #adjust to your system
      - NODE_ENV=production
      - HTTPS_PORT=3443
      - ZTNCUI_PASSWD=password  #change this
    volumes:
      - ztncui:/opt/key-networks/ztncui/etc
      - zt1:/var/lib/zerotier-one
    ports:
      - 3443:3443 #dashboard port
      - 3180:3180

 

Edited by extremeaudio

Solved by extremeaudio

  • Author

Update: I installed the dockers using the user templates and they have retained their userdata.

 

I reinstalled portainer too and that contained the stack with the code as above.

 

I deployed that stack and deployed successfully. But when I go to the zerotier gui the networks information is lost. :( Where would that be stored if at all?

  • Author

Update 2: I am able to access the contents of the old cache disk by putting it in a usb housing. But somehow it wont work connected to the regular disk slot.

 

Can all dockers work exactly as earlier if the contents are copied over to the new disk? Will it make a difference that I already tried creating dockers using the new disk? Should I disable and re enable docker or something? 

Edited by extremeaudio

  • Author

Update 3: Copied the contents of the old cache disk over to the new disk.

 

Unassigned the cache disk. Started array. Stopped the array. Assigned the new cache disk with the exact contents as the old cache disk. Started the array.

 

Docker tab looks fine with all the dockers. All dockers start including the ztncui one. But unable to get to the web UI.

  • Author

In the ztncui documentation they say

 

Copy data of ztncui (/opt/key-networks/ztncui/etc) and ZT controler (/var/lib/zerotier-one).

 

Where do I find this in unraid?

  • Author
  • Solution

Never mind. I think the container was updating or it was awaiting a reboot. After a reboot the data is all restored. WHEW!

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.