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.

Domain.cfg corrupt [HELP]

Featured Replies

This morning while beginning the process to migrate to a new ssd the domain.cfg file on the flash drive for Unraid became corrupt.

 

I did a quick google search and couldn't find anything about fixing the issue. Is this something that can be replaced with the file from the install package or am I SOL here?

The domain.cfg file is simply the settings from Settings - VM Settings.  Whatever you change in there will rewrite the domain.cfg file.

It isn't a very complex file. Here's mine for reference.

SERVICE="enable"
DEBUG="no"
DOMAINDIR="/mnt/user/domains/"
MEDIADIR="/mnt/user/isos/"
VIRTIOISO="/mnt/user/isos/virtio-win-0.1.160-1.iso"
BRNAME="br0"
VMSTORAGEMODE="auto"
IMAGE_FILE="/mnt/user/system/libvirt/libvirt.img"
IMAGE_SIZE="1"
DISKDIR="/mnt/"
TIMEOUT="60"
HOSTSHUTDOWN="shutdown"

It essentially reflects the content of the Settings -> VM Manager page in Advanced view:

 

948965119_ScreenShot2018-11-20at14_30_51.png.c4df4fac2a6d8cbe9ce309d1227bfdae.png

  • Author
Just now, Squid said:

The domain.cfg file is simply the settings from Settings - VM Settings.  Whatever you change in there will rewrite the domain.cfg file.

Thank you, that explains when it got corrupt it was just after I shut down the VMs.

 

If I remove the corrupt file will Unraid write a new one when I change the VM Settings?

5 minutes ago, jdmhammer said:

If I remove the corrupt file will Unraid write a new one when I change the VM Settings?

I expect it would do but you're in a good position to test the theory! It won't make things worse.

  • Author
4 minutes ago, John_M said:

I expect it would do but you're in a good position to test the theory! It won't make things worse.

Fair point, I'll report back.

  • Author

Success, removed the corrupt file and saved the VM config again.

That's good to know.

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.