Jump to content

[SOLVED] Unable to save some settings from the WebUI


Go to solution Solved by CodeThief,

Recommended Posts

Hi all,

 

I'm running Unraid v6.9.2 and am having some odd issues with saving settings via the WebUI.

 

I had an issue yesterday where Unraid suddenly reported that my flash drive (a Sandisk 2GB stick) was set as read-only.  I shut down the server, stuck the drive into a Windows PC and it reported it as damaged; Windows dutifully repaired the drive (and chkdsk reports no problems), but since then I haven't been able to save some specific settings - the screen just refreshes and the changes are gone again.

 

The things it won't save that I've found so far are:

 

  • The image of the server in the dashboard on the top-left (this changed by itself after repairing the drive).
  • Notification settings including filling in the Agent config for Telegram

 

I'm able to successfully add more Docker containers and the config for those saves OK so I'm guessing the problem lies with my USB stick somewhere.  When I plugged it into my Windows PC I checked in DISKPART if the disk or volume was read-only and both reported they weren't.  I'm also not seeing any further errors from Unraid about writing to the drive, so I'm not sure what's going on.

 

I only purchased Unraid less than 48 hours ago using this stick, so I'm not keen on trying another stick and using up my 12 month license change in the first 2 days!

 

I'm struggling to upload my diagnostics .zip from this PC, so I'll upload it in the next post from another device...

 

Any ideas?

 

Thanks!

Edited by CodeThief
Link to comment

I'm using Chrome v92.  It was working using exactly the same browser the day before though...  I don't have any Adblocker plugins for anything.

 

I'll check on Edge Chromium also...

 

EDIT: Same on Edge Chromium :(

 

I've also noticed that my array gets parity checked every time I boot which I guess is also leaning towards a flash drive problem if Unraid isn't writing that it's completed one.

Edited by CodeThief
Link to comment
4 hours ago, CodeThief said:

I'd like to check for permissions issues etc.

There should really never be any permission issues as the flash drive is FAT32 and that does not support linux permissions.   If settings are not saving this strongly suggests the flash drive either has a problem, or is dropping offline, and I would expect either condition to show up in the syslog.  Have you pried bringing up the syslog before attempting a change so you can see if entries are getting generated?

Link to comment
On 9/2/2021 at 10:15 AM, CodeThief said:

my array gets parity checked every time I boot which I guess is also leaning towards a flash drive problem if Unraid isn't writing that it's completed one.

It does suggest a flash drive problem, but not because it hasn't completed a parity check. You will always get a parity check for unclean shutdown.

 

 

  • Like 1
Link to comment
On 9/2/2021 at 3:15 PM, CodeThief said:

I've also noticed that my array gets parity checked every time I boot which I guess is also leaning towards a flash drive problem if Unraid isn't writing that it's completed one.


some people get this because the default timeouts for stopping VMx, docker, disks are too short for their system so you get a forced shutdown which then leads to an automatic parity check on the next boot.

 

you might want to try simply stopping the array (rather than doing a shutdown) when it is running its normal workload and time how long that takes.   You can then make sure the timeouts are large enough.    If the array disks will never unmount cleanly you need to look into what is stopping that from happening and rectify that.

  • Like 1
Link to comment
  • Solution

Fixed it!

 

I created a new Unraid USB stick to compare the contents and found the only obvious thing that was different was that I was missing a "dynamix" folder under /config/plugins.  I had a file called "dynamix", but not a folder; something must have gotten corrupted somehow.  Anyway, I deleted the file, copied the folder over and everything is working as expected again.

 

So the server image and the notification settings are all stored in the /config/plugins/dynamix folder for anyone who stumbles across this in the future :)

Link to comment
  • CodeThief changed the title to [SOLVED] Unable to save some settings from the WebUI
55 minutes ago, CodeThief said:

So the server image and the notification settings are all stored in the /config/plugins/dynamix folder for anyone who stumbles across this in the future


All User settings (and the licence file) are stored in the ‘config’ folder.   This is the key thing you therefore want backed up if you ever need to recreate your flash drive.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...