tteck / Proxmox

Proxmox VE Helper-Scripts
https://Helper-Scripts.com
MIT License
11.68k stars 1.81k forks source link

Homer - update script wipes all yaml files except `config.yml` #3175

Closed liveware-problems closed 2 weeks ago

liveware-problems commented 2 weeks ago

Please verify that you have read and understood the guidelines.

Yes

A clear and concise description of the issue.

When running the update script on a Homer LXC install, only the config.yml and /tools folder are backed up and restored. With Homer, you can create additional pages as further .yml files, detailed in the Homer file additional-page.yml.dist. However these additional yaml files will be deleted when the update script runs. The update should script should therefore backup and restore any yaml file in the /assets directory.

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

Before screenshot - showing #devices ref in config.yml and devices.yml file in explorer sidebar: image

Post update - devices.yml has been deleted by update script: image

Please provide detailed steps to reproduce the issue.

Add additional page.yml file Update LXC using script Additional page,yml file will be deleted

tteck commented 2 weeks ago

It now backs up the assets directory

liveware-problems commented 2 weeks ago

Many thanks for the super-swift bugfix @tteck - verified as working fine on my LXC!