Skip to content

Conversation

@gehrleib
Copy link

@gehrleib gehrleib commented Feb 10, 2026

Changes

  • Fix new stack first save (Resolves [Bug]: Save All button functionality issue with initial save #15): addStack was returning the full filesystem path instead of the directory name, causing the editor to construct a doubled path when saving — silently failing on first Save All for new stacks
  • Fix scheduled backup: Use root crontab instead of Unraid cron helper for reliable scheduling
  • Replace Browse with Upload: File upload via FormData/AJAX instead of server-side file browser, with validation for archive type, duplicates, and destination writability
  • Restore confirmation: Show stack names in restore dialog instead of count
  • Save settings feedback: Inline status banner instead of page reload.
  • Help cursor: Only show ? cursor on settings that have help text (CSS :has()\ selector)
  • Cron logging: Single completion line with archive name, size, and stack count
  • Restore status width: Match restore message width to backup tables (700px)
  • Standardized logging: Consistent [backup]/[restore]\ category tags

Tests

All 233 unit tests pass (433 assertions). Updated \testBrowseArchiveButton\ → \testUploadArchiveButton\ to reflect the upload change.

- Fix scheduled backup using root crontab instead of Unraid cron helper
- Replace 'Browse for Archive' with file upload via FormData/AJAX
- Validate uploaded archive type, duplicates, and destination writability
- Show stack names in restore confirmation dialog instead of count
- Replace save-settings popup (swal) with inline status banner
- Restrict help cursor to settings that have help text
- Simplify cron log output to single completion line
- Match restore status message width to backup tables
- Standardize backup/restore log format with category tags
@gehrleib
Copy link
Author

gehrleib commented Feb 10, 2026

@mstrhakr we should try to figure out how to get this on Unraid App Store after this one (or even an update on Reddit). All critical issues are resolved. Having more users would help identify further bugs.

- Change default shell from /bin/sh to /bin/bash across all console entry points
- Add server-side fallback: check if bash exists in container via 'which', fall back to sh if not
- Affects: exec.php, compose_util.php, compose_manager_main.php, dashboard page
@mstrhakr
Copy link
Owner

@mstrhakr we should try to figure out how to get this on Unraid App Store after this one (or even an update on Reddit). All critical issues are resolved. Having more users would help identify further bugs.

I've found the official source on this finally. I will start working on this.

mstrhakr and others added 3 commits February 10, 2026 19:41
The addStack handler returned the full filesystem path as 'project'
(e.g. /boot/.../projects/My_Stack) instead of just the directory name
(e.g. My_Stack). When the editor modal later sent this as 'script' to
save endpoints, the server constructed compose_root + script which
doubled the path, causing saves to silently fail on newly created stacks.

Also fixed 'projectName' to return the user-entered display name instead
of the sanitized directory name.

Resolves mstrhakr#15
When no description file exists and no label description is set,
the stack list was showing 'No description (path)' which pre-populated
the description with the filesystem path. Changed to show blank instead.
@mstrhakr mstrhakr merged commit 423885c into mstrhakr:main Feb 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Save All button functionality issue with initial save

2 participants