Commit Graph

27 Commits

Author SHA1 Message Date
Lukas Wingerberg
4882813fe5 fix: Remove runtime directory creation in /etc 2026-02-04 23:48:19 +01:00
Matthieu B
5f2f937be8 fix: uv lock issues 2025-09-10 12:41:08 +02:00
Matthieu B
4b76520553 fix: uv entrypoint lock 2025-09-10 12:19:01 +02:00
Matthieu B
5bfe738659 fix: entrypoint uv.lock 2025-09-10 12:13:01 +02:00
Matthieu B
8368bc2bd3 fix: slow ownership bind hanging 2025-09-10 10:12:37 +02:00
Matthieu B
22d307d901 cleanup: remove unnecessary migration scripts and complexity
- Remove all migration helper scripts (over-engineering)
- Revert Docker entrypoint changes (not needed)
- Clean up CLAUDE.md migration strategy section
- Keep only the essential: beautifully renamed migration files

The simple solution won: just rename the files, Alembic doesn't care about filenames!

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 19:06:39 +02:00
Matthieu B
bb7e467a52 fix: use uv run for migration name checker in Docker entrypoint
- Ensures consistency with existing uv run --no-dev flask db upgrade
- Maintains proper Python environment isolation in Docker

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 18:57:00 +02:00
Matthieu B
0cc94971b6 feat: complete migration chaos solution with full renaming
BREAKING CHANGE: Migration files renamed to clean YYYYMMDD format

- Renamed 17 migrations from chaotic hash-based to clean date-based names
- Maintained all revision IDs and dependency chains
- Updated Docker entrypoint to check/log migration mappings
- All tests pass, migration chain validated and healthy
- 28/30 migrations now follow YYYYMMDD_description.py format
- Added comprehensive migration management tooling

Changes:
- migrations/versions/*: 17 files renamed to YYYYMMDD format using real creation dates
- docker-entrypoint.sh: Added migration name checker before DB migrations
- Complete 4-phase renaming strategy implemented and executed

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 18:55:59 +02:00
Matthieu B
2441ba7fa4 fix locked uv 2025-08-31 19:49:15 +02:00
Matthieu B
fd5066d195 Update entrypoint and CMD to run without dev dependencies for production readiness 2025-08-17 18:30:10 +02:00
Matthieu B
fad484b570 Enhance CI workflow and Dockerfile for improved caching, ensure database directory exists, and update entrypoint script for critical directory creation 2025-08-12 19:18:18 +02:00
Matthieu B
000dc024b3 feat: implement robust session cache to handle stale file handle errors
fix: enhance scheduler initialization to skip during migrations
chore: update docker entrypoint to skip scheduler during migrations
docs: add detailed explanation for session cache stale file handle fix
2025-08-09 20:22:51 +02:00
Matthieu B
7b8f64af7d Fix SQLAlchemy model constructors to accept keyword arguments
- Added __init__ constructors to all SQLAlchemy models
- Fixed pyright 'No parameter named' errors across the codebase
- Fixed various ruff linting issues (SIM108, E741, E402, SIM102, B904, SIM105)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 13:52:15 +02:00
compilingEntropy
782d1287ee Update docker-entrypoint.sh
Fix permissions issue on first install, or when new data is added
2025-06-16 20:50:07 +02:00
Matthieu B
7528ec9934 fixed UID set default 2025-06-16 19:17:31 +01:00
Matthieu B
f68faee52d Fix #632 Truenas slow 2025-06-16 18:46:17 +01:00
Matthieu B
6ffce56a22 Add external url to media server 2025-06-13 14:57:58 +01:00
Matthieu B
db7867b7bb added version logging 2025-06-10 23:13:14 +01:00
Matthieu B
570bcb23d5 added version logging 2025-06-10 22:21:42 +01:00
Matthieu B
7d96446fde added version logging 2025-06-10 22:16:33 +01:00
wraith15
0cb4660258 Fix group/user error group 'wizarrgroup' in use (#603) 2025-06-10 00:25:39 -05:00
fireph
bf407f2295 Create user/group at runtime in docker-entrypoint.sh
The changes that were made to the Dockerfile didn't quite work since environment variables set at runtime won't change anything that uses them in the Dockerfile. So the user/group creation needs to happen in the docker-entrypoint.sh script so that if the user/group is set as an environment variable it will create a the user/group properly and take ownership of the required folders.
2025-06-09 00:19:37 -07:00
Matthieu B
76ec5d1d52 fix image permissions 2025-05-23 02:33:36 +01:00
Matthieu B
f8871b82ba fix image permissions 2025-05-23 02:06:52 +01:00
Matthieu B
19fa6e497a Import Legacy Database 2025-05-22 18:50:03 +01:00
Matthieu B
59e55fad0d added healthchecl 2025-05-21 16:14:34 +01:00
Matthieu B
5e62af2e14 fix startup and database migration 2025-05-21 16:05:59 +01:00