78 Replies
So in the compose, wherever you say for example
${APP_DATA_DIR}/galette_logs
, replace it with ${APP_DATA_DIR}/data/galette_logs
you're not supposed to mount the whole ${APP_DATA_DIR}/data
folder anywhere
you mount subfolders
or if everything would go in one mountpoint, perhaps you could have a folder with whatever is needed in thereYes I noticed that if I mount it in addition to the others it doesn't work either
from what I can see in your compose you can simplify things a lot
create a "data" folder in the other data folder
(yes it looks bad)
Yes maybe but I'm all beginner
well that's why I'm trying to help you learn ๐
Basically you want to have this in your appstore:
galette/data/data/.gitkeep
and then mount ${APP_DATA_DIR}/data/data
at /var/www/galette/data
wherever needed
no need for a separate mount for each folder
(by the way you can completely remove the read only, shared and private mount options, they are the defaults)I had followed the recommended structure on the docker
which guide is that?
I thought they were necessary but indeed I will delete them if not necessary
replace them with just this
GitHub
GitHub - galette-community/docker: Membership management web applic...
Membership management web application towards non profit organizations, in a Docker container ! - GitHub - galette-community/docker: Membership management web application towards non profit organi...
I will try this tonight because these anonymous volumes annoy me. Even this it still works
when you're done, push your changes to the app store so I can check
keep in mind you'll have to migrate your data when you make this change
you'll have to manually move and rename all relevant folders
so make sure to back up your data
I will try this tonight because these anonymous volumes annoy me. Even this it still works
Yes, that's why I want to make the change quickly so as not to penalize people who could download the application
makes sense although it's best to at least let people know in your appstore post
Yes it will be done ๐
Private message test app store ?
And I send you a message when changes are made
what do you mean?
Yesterday I worked on dolibarr which seems to me to work well. I know this is an application that has been requested. It's in my test store.
I think RUNTIPI is great. I started developing myself thanks to this. Thank you for the help I'm learning a lot.
you can let me know here
I made the suggested changes!
https://github.com/Mouette03/test_store/tree/main/apps/galette
GitHub
test_store/apps/galette at main ยท Mouette03/test_store
Contribute to Mouette03/test_store development by creating an account on GitHub.
looking good!
does it work?
I tried but galette has a permission problem! I think he's looking for the files that were mounted before and that he doesn't create the

can you share the logs?
hmm can't see any errors here, weird
perhaps you need to create the subdirectories too?
77 / 5โฏ000
it still mounts anonymous volume and it probably looks for the following files

and those were automatically created?
oh wait
this folder structure is wrong
did you make it yourself?
try a brand new install of the app after backing everything up
all the subfolders should be in galette/data/data, not galette/data
I think this is how Docker is made, but the problem is that if I mount the subdirectories, the data folder will probably take over. If I understand correctly
can we start this over?
I want you to take a backup of your current galette data
tell me when you're done
not automatically created, these are those of the site without docker but they are also those that on the docker github it asks to mount in part
before you started making changes, did you have galette working?
or are you still trying to set it up for the first time?
rien sur cenothing on this test rpi but if necessary I can recover from another installationtte ins
no it's ok
just making sure we don't accidentally destroy important data
first of all, please uninstall galette
68 / 5โฏ000
everything happens on test machine no data loss problem
just to make sure nothing is left over that shouldn't be
great
tell me when you're ready
yes
ok
have you added the test store?
I deleted the current installation and checked that the files were deleted from the app data directory.
great
yes
if you search galette in the app store you get 2 results, right?
1 only
click on it and send me a full screenshot
don't install it yet
I want to check something

scroll up please

up is the other way ๐
I can't go higher than the other capture
huh that's weird
normally you should be able to see the runtipi icon
and the menu

ah there we go
ok that's good
can you try installing it now?
a bug I refreshed the page
ok no problem
I just wanted to verify it's from the test appstore
install in progress
little time in my answer I have to translate
install ok
cool
are there still permission errors?
yes always
can you send me the directory structure in
app-data/test/galette
please?
ok that's good actually
I had anticipated
it looks like you just have to create the necessary folders in
app-data/test/galette/data/data
so back in your store, go through each of the folders and create them with a .gitkeep file in them
so data/data/files/.gitkeep
, data/data/logs/.gitkeep
, etcin docker-compose.json ?
once you do that, push your changes to your test appstore, uninstall galette, update the appstores from the settings and then reinstall galette
in your appstore
and there he created another anonymous volume
no, don't add new volumes
via sftp ?
no
give me a minute
your repository file structure looks like this now:
ah ok
I will get back to you when it is done and reinstall
you want it to be like this:
@MOUETTE03 don't reinstall anything yet, just make the file structure like this and push the changes
the previous gitkeep in data is now unnecessary by the way
but it's ok to leave it, don't worry
I suspected it well๐
have you reinstalled yet?
no
ok
Also, since you mentioned you like learning,
.gitkeep
is used because git won't push empty folders to the repository. If you want a folder to be pushed, you have to add a file to it. Developers settled on using files like .gitkeep
or .placeholder
for this.
In your case, since the data
folder now has other folders with content in them (.gitkeep
files), the initial .gitkeep
you added isn't necessary anymoreI still have an anonymous volume but I forgot the config folder I'll start again and tell you but all the others have been created and galette has obtained permissions
Yes, I looked at that later! But I didn't know that you could add them to the files you push to the store and that Runtipi took that into account. Really fantastic.
Not quite sure what you mean by that, but I'm happy you like it
I'm going to eat and then I'll do the new installation with the config folder (which I had forgotten ๐ญ ) to confirm that there is no more anonymous volume!
and tells you
great
After installation, there was still an anonymous volume mounting "/var/www/galette/config" which is normally not located in the data folder. So I added a volume for it and no more persistent volume.
{
"hostPath": "${APP_DATA_DIR}/data/data",
"containerPath": "/var/www/galette/data"
},
{
"hostPath": "${APP_DATA_DIR}/data/config",
"containerPath": "/var/www/galette/config"
}
๐ ๐