Power outtage can cause blender 4.2 to loose all preferences (factory reset on computer shutting off) #125623

Closed
opened 2024-07-29 21:53:19 +02:00 by LOIC BRAMOULLE · 5 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 560.70

Blender Version
Broken: version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: a51f293548ad
Worked: (newest version of Blender that worked as expected)

Short description of error
Booting blender after power went off, all preferences are lost, factory settings.

Exact steps for others to reproduce the error

  1. Shut computer off (e.g. power outtage)
  2. start computer, launch blender, has factory settings (hotkeys gone, navigation settings gone.) Config folder has no weight in the config file, they've been emptied basically.

My computer did shut off many times in the past, but blender never did that before 4.2. Might not be 4.2, but one really good solve for this would be to backup user prefs just the same way as files are autosaved. Either every minyte, or every time blender is closed, saving a copy of the whole %appdata% config folder to the Autosaves folder.
Because currently the preferences living in the %appdata% cannot be backed-up on the cloud, as app data isn't accepted by backup apps.
So at the moment all users need to do regular manual backups of their hotkeys, but that does not include all user prefs I think, so we need to regularly manually backup the whole config folder.
Which very luckily I did yesterday for another bug report haha.
Anyway, losing user prefs is extremely distressing, so a stronger automated system would solve this power outtage pref lost bug for example. (many other cases can cause loss of prefs anyway, like loosing a hard drive ect...)

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 560.70 **Blender Version** Broken: version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: `a51f293548ad` Worked: (newest version of Blender that worked as expected) **Short description of error** Booting blender after power went off, all preferences are lost, factory settings. **Exact steps for others to reproduce the error** 1. Shut computer off (e.g. power outtage) 2. start computer, launch blender, has factory settings (hotkeys gone, navigation settings gone.) Config folder has no weight in the config file, they've been emptied basically. My computer did shut off many times in the past, but blender never did that before 4.2. Might not be 4.2, but one really good solve for this would be to backup user prefs just the same way as files are autosaved. Either every minyte, or every time blender is closed, saving a copy of the whole %appdata% config folder to the Autosaves folder. Because currently the preferences living in the %appdata% cannot be backed-up on the cloud, as app data isn't accepted by backup apps. So at the moment all users need to do regular manual backups of their hotkeys, but that does not include all user prefs I think, so we need to regularly manually backup the whole config folder. Which very luckily I did yesterday for another bug report haha. Anyway, losing user prefs is extremely distressing, so a stronger automated system would solve this power outtage pref lost bug for example. (many other cases can cause loss of prefs anyway, like loosing a hard drive ect...)
LOIC BRAMOULLE added the
Type
Report
Severity
Normal
Status
Needs Triage
labels 2024-07-29 21:53:20 +02:00
Author

For example what I do since many years and that saved my butt and sanity several times, is manually backuping my startup & userprefs files to dropbox, but I have to remind me of going into my %appdata% on a regular basis, usually any time I save my startup file, I go and back it up.
But there will always be bugs like this power outage one that comes from nowhere and wipes the user prefs, so the only solve is autosaving these just like blend file I think.
image

Started doing that today:
image

For example what I do since many years and that saved my butt and sanity several times, is manually backuping my startup & userprefs files to dropbox, but I have to remind me of going into my %appdata% on a regular basis, usually any time I save my startup file, I go and back it up. But there will always be bugs like this power outage one that comes from nowhere and wipes the user prefs, so the only solve is autosaving these just like blend file I think. ![image](/attachments/0635abb6-3b26-4367-8d64-c8f11c189953) Started doing that today: ![image](/attachments/130c8405-09b2-47ed-90d7-8eb6eab41b92)
Member

Hi, thanks for the report. Do you experience "default configs after reboot" particularly when power went off while you have unsaved preferences?

Hi, thanks for the report. Do you experience "default configs after reboot" particularly when power went off while you have unsaved preferences?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-07-30 08:36:31 +02:00
Author

Hi, sorry it's the first time I see this issue, but I reported anyway as it could have been pretty bad if I didn't had different manual backups.
What is strange is that my preferences were saved, blender 4.2 got reset just like if it was never opened once. There as a windows security popup when opening it, and a python console opening too along blender.
Once I pasted my config folder backup onto the 4.2 appdata one that was factory reset, all was normal again.

But my point would be that this is probably unsolvable directly, and more bug or issue can wipe one's configs/user prefs, so the ideal way to solve taht would be a simple automatic backup of this config folder, just like autosaves, a regular single external copy of your user prefs, which path can be on a cloud-backed folder so we have a guarantee our prefs cannot be wiped even if we forget to do these tedious manual backups.

Hi, sorry it's the first time I see this issue, but I reported anyway as it could have been pretty bad if I didn't had different manual backups. What is strange is that my preferences were saved, blender 4.2 got reset just like if it was never opened once. There as a windows security popup when opening it, and a python console opening too along blender. Once I pasted my config folder backup onto the 4.2 appdata one that was factory reset, all was normal again. But my point would be that this is probably unsolvable directly, and more bug or issue can wipe one's configs/user prefs, so the ideal way to solve taht would be a simple automatic backup of this config folder, just like autosaves, a regular single external copy of your user prefs, which path can be on a cloud-backed folder so we have a guarantee our prefs cannot be wiped even if we forget to do these tedious manual backups.
Member

simple automatic backup of this config folder, just like autosaves, a regular single external copy of your user prefs

Hi, this is actually a request than a bug, closing.
system is likely responsible to wipe out the config folder than blender

> simple automatic backup of this config folder, just like autosaves, a regular single external copy of your user prefs Hi, this is actually a request than a bug, closing. system is likely responsible to wipe out the config folder than blender
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-08-13 07:14:29 +02:00
Author

I know very little about these things, but I don't see what other app than blender could modify the config folder content and reset it to factory mode.

I know very little about these things, but I don't see what other app than blender could modify the config folder content and reset it to factory mode.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#125623
No description provided.