Skip to content

fix: Allow locale writing in OpenShift kube - #161

Merged
colisee merged 1 commit into
LibreBooking:masterfrom
ikke-t:fix-librebooking-ini
Mar 4, 2026
Merged

fix: Allow locale writing in OpenShift kube#161
colisee merged 1 commit into
LibreBooking:masterfrom
ikke-t:fix-librebooking-ini

Conversation

@ikke-t

@ikke-t ikke-t commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

There is permission error in OpenShift if local timezone is configured in env. Entrypoint tries to write $LB_DEFAULT_TIMEZONE to librebooking.ini which gets denied.

+ '[' -f /usr/share/zoneinfo/Europe/Helsinki ']'
+ INI_FILE=/usr/local/etc/php/conf.d/librebooking.ini
+ echo '[Date]'
/usr/local/bin/entrypoint.sh: line 95: /usr/local/etc/php/conf.d/librebooking.ini: Permission denied

@colisee colisee self-assigned this Mar 4, 2026
@colisee colisee added the bug Something isn't working label Mar 4, 2026
@colisee

colisee commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

Changes

Set proper ownership and permissions to /var/www/html/Web/uploads/reservation and /usr/local/etc/php/conf.d/librebooking.ini

@colisee colisee closed this Mar 4, 2026
@colisee colisee reopened this Mar 4, 2026
@colisee
colisee merged commit 2bb8927 into LibreBooking:master Mar 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants