friendica / docker

Docker image for Friendica
https://friendi.ca
GNU Affero General Public License v3.0
45 stars 18 forks source link

Preserve local config during update #172

Closed elrido closed 2 years ago

elrido commented 2 years ago

During the last update from 2021.07 to 2021.09 my local.config.php got replaced. I found that the archive that gets downloaded from https://files.friendi.ca/ contained such file, while it is not present in the friendica git tree.

This change will exclude that file from the configuration file update. It also amends a path used in the installation to point to the unpacked archive.

Is it correct to only change this in the template scripts in the top level or should this also get changed in the scripts for each of the docker images (i.e. 2021.09/apache/entrypoint.sh)? I'm not sure on the process/script to refresh these.

nupplaphil commented 2 years ago

Please execute ./update.sh after changing the template and commit every changed file as well :)

But I think this PR fixes not the root cause.. I think I have to recreate the stable archive again @tobiasd :( what do you say? In the meantime I'll add this change to have a running image again

tobiasd commented 2 years ago

@nupplaphil can you regenerate the release archive plus the sig and the sum files?

elrido commented 2 years ago

Thank you all for the guidance. Did apply the change to all the images via update.sh as well.

nupplaphil commented 2 years ago

merged, but I'll recreate the archive without the config as well to fix the root cause..