Closed gourk closed 4 months ago
Hi and thanks for the report !
I cannot reproduce this; it works for me:
Do you have any idea what I may be doing differently ?
Maybe you can share a zip file with an exact reproduction ?
Here the smallest code to reproduce it sqlpage-bug246.zip
Uncompress and run docker compose up
Thanks ! I can reproduce (and fix) the issue !
The docker image was updated in v0.19.
The official docker image now sets SQLPAGE_CONFIGURATION_DIRECTORY=/etc/sqlpage/ by default, and changes the working directory to /var/www/ by default.
The change was buried in the other feature announcements, and did not mention the potential for breakage; you probably did not notice it. I'll make the changelog more explicit !
.
├── config
│ ├── sqlpage.db
│ └── templates
│ └── shell.handlebars
├── docker-compose.yml
└── src
└── index.sql
Instead of embedding the sqlpage configuration directory (with the custom shell component) inside the public web root, they are now in two distinct folders: config/
and src/
services:
pegase:
image: lovasoa/sqlpage:v0.19.1
volumes:
- ./src:/var/www
- ./config:/etc/sqlpage
ports:
- "8080:8080"
We mount config
onto /etc/sqlpage
and src
onto /var/www
Oh I see. I will change my dockerfile according to this. Thanks for your help and for your amazing work
Introduction
I wrote a custom shell component in August to display a custom menu. It works fine after you help me here
But since v.19.x, the menu isn't visible anymore without error message.
To Reproduce
use this shell.handlebars page
This index.sql
Actual behavior
The top menu is not visible anymore![image](https://github.com/lovasoa/SQLpage/assets/5373257/7da60d4a-847d-4489-8e4b-b111cf44fe60)
Expected behavior
The top menu should be visible., like previous version. ![Uploading image.png…]()
Version information