Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems caused by service restart #17651

Closed
Amber-Wish opened this issue Jun 8, 2021 · 2 comments
Closed

Problems caused by service restart #17651

Amber-Wish opened this issue Jun 8, 2021 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@Amber-Wish
Copy link

When matomo is deployed with docker, the plug-in needs to be reinstalled every time it is restarted. In addition, the authorization token of the API needs to be regenerated. It's very troublesome. Is there any way to avoid it?

@Amber-Wish Amber-Wish added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Jun 8, 2021
@diosmosis
Copy link
Member

Hi @Amber-Wish, unfortunately we don't answer questions on how to use or deploy matomo in this issue tracker but only handle feature requests or bug reports. That said, the issue here is likely that your docker containers are not using volumes. The folder containing plugins, your config and the tmp folder should be stored in volumes that persist outside of the docker container (though there are other ways to accomplish this so this should not be considered the official recommended way). The same goes for your mysql database's data files.

In the future we would rather you ask questions like this in our forum: https://forum.matomo.org/. Thanks for your understanding.

@Findus23
Copy link
Member

Findus23 commented Jun 8, 2021

I'd recommend you to contact the maintainer of the Matomo docker image you are using.

I think at least https://github.com/matomo-org/docker already does what @diosmosis is suggesting.

@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Jul 27, 2021
@tsteur tsteur removed the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

5 participants