mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Adjust Dockerfile to create and grant permissions for backup directories, install PostgreSQL client for backups, and update BackupService to use the correct production backup path to resolve EACCES errors. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7c468936-2a88-4686-ac0a-84921a45222d Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/7c468936-2a88-4686-ac0a-84921a45222d/K3Lzcje
228 lines
3.4 KiB
Plaintext
228 lines
3.4 KiB
Plaintext
|
|
|
|
Host
|
|
|
|
Administration
|
|
|
|
User-related
|
|
|
|
|
|
Environment-related
|
|
|
|
Registries
|
|
|
|
Logs
|
|
|
|
Notifications
|
|
|
|
Settings
|
|
|
|
New version available 2.27.9
|
|
DismissSee what's new
|
|
Community Edition
|
|
2.27.6 LTS
|
|
Containers>logiflow-logiflow-1>Logs
|
|
Container logs
|
|
|
|
|
|
admin
|
|
Log viewer settings
|
|
Auto-refresh logs
|
|
Wrap lines
|
|
Display timestamps
|
|
Fetch
|
|
All logs
|
|
Search
|
|
Filter...
|
|
Lines
|
|
100
|
|
Actions
|
|
|
|
|
|
|
|
|
|
path: '/app/backups'
|
|
|
|
}
|
|
|
|
Node.js v20.19.4
|
|
|
|
🔗 Database initialization: {
|
|
|
|
NODE_ENV: 'production',
|
|
|
|
isProduction: true,
|
|
|
|
hasDbUrl: true,
|
|
|
|
dbHost: 'logiflow-db'
|
|
|
|
}
|
|
|
|
🐳 PRODUCTION: Using standard PostgreSQL
|
|
|
|
✅ PostgreSQL connection test successful
|
|
|
|
🔗 Database initialization: {
|
|
|
|
NODE_ENV: 'production',
|
|
|
|
isProduction: true,
|
|
|
|
hasDbUrl: true,
|
|
|
|
dbHost: 'logiflow-db:5432'
|
|
|
|
}
|
|
|
|
✅ Using DatabaseStorage (production PostgreSQL)
|
|
|
|
|
|
node:fs:1372
|
|
|
|
const result = binding.mkdir(
|
|
|
|
^
|
|
|
|
Error: EACCES: permission denied, mkdir '/app/backups'
|
|
|
|
at Object.mkdirSync (node:fs:1372:26)
|
|
|
|
at BackupService.ensureBackupDirectory (file:///app/dist/index.js:3147:10)
|
|
|
|
at new BackupService (file:///app/dist/index.js:3142:10)
|
|
|
|
at file:///app/dist/index.js:3283:21
|
|
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
|
|
|
|
errno: -13,
|
|
|
|
code: 'EACCES',
|
|
|
|
syscall: 'mkdir',
|
|
|
|
path: '/app/backups'
|
|
|
|
}
|
|
|
|
Node.js v20.19.4
|
|
|
|
🔗 Database initialization: {
|
|
|
|
NODE_ENV: 'production',
|
|
|
|
isProduction: true,
|
|
|
|
hasDbUrl: true,
|
|
|
|
dbHost: 'logiflow-db'
|
|
|
|
}
|
|
|
|
🐳 PRODUCTION: Using standard PostgreSQL
|
|
|
|
✅ PostgreSQL connection test successful
|
|
|
|
🔗 Database initialization: {
|
|
|
|
NODE_ENV: 'production',
|
|
|
|
isProduction: true,
|
|
|
|
hasDbUrl: true,
|
|
|
|
dbHost: 'logiflow-db:5432'
|
|
|
|
}
|
|
|
|
✅ Using DatabaseStorage (production PostgreSQL)
|
|
|
|
|
|
node:fs:1372
|
|
|
|
const result = binding.mkdir(
|
|
|
|
^
|
|
|
|
Error: EACCES: permission denied, mkdir '/app/backups'
|
|
|
|
at Object.mkdirSync (node:fs:1372:26)
|
|
|
|
at BackupService.ensureBackupDirectory (file:///app/dist/index.js:3147:10)
|
|
|
|
at new BackupService (file:///app/dist/index.js:3142:10)
|
|
|
|
at file:///app/dist/index.js:3283:21
|
|
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
|
|
|
|
errno: -13,
|
|
|
|
code: 'EACCES',
|
|
|
|
syscall: 'mkdir',
|
|
|
|
path: '/app/backups'
|
|
|
|
}
|
|
|
|
Node.js v20.19.4
|
|
|
|
🔗 Database initialization: {
|
|
|
|
NODE_ENV: 'production',
|
|
|
|
isProduction: true,
|
|
|
|
hasDbUrl: true,
|
|
|
|
dbHost: 'logiflow-db'
|
|
|
|
}
|
|
|
|
🐳 PRODUCTION: Using standard PostgreSQL
|
|
|
|
✅ PostgreSQL connection test successful
|
|
|
|
🔗 Database initialization: {
|
|
|
|
NODE_ENV: 'production',
|
|
|
|
isProduction: true,
|
|
|
|
hasDbUrl: true,
|
|
|
|
dbHost: 'logiflow-db:5432'
|
|
|
|
}
|
|
|
|
✅ Using DatabaseStorage (production PostgreSQL)
|
|
|
|
|
|
node:fs:1372
|
|
|
|
const result = binding.mkdir(
|
|
|
|
^
|
|
|
|
Error: EACCES: permission denied, mkdir '/app/backups'
|
|
|
|
at Object.mkdirSync (node:fs:1372:26)
|
|
|
|
at BackupService.ensureBackupDirectory (file:///app/dist/index.js:3147:10)
|
|
|
|
at new BackupService (file:///app/dist/index.js:3142:10)
|
|
|
|
at file:///app/dist/index.js:3283:21
|
|
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
|
|
|
|
errno: -13,
|
|
|
|
code: 'EACCES',
|
|
|
|
syscall: 'mkdir',
|
|
|
|
path: '/app/backups'
|
|
|
|
}
|
|
|
|
Node.js v20.19.4 |