If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!
Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.
When in doubt, post here and we will figure it out together.
Delete the italic comments as you write over them below, and remove this guide.
Describe the bug
Matomo version : 5.0.0~ynh2
Using the yunohost webadmin interface, I've changed the url from 'old-domain.net'/matomo to 'new-domain.net'/matomo
The script run and worked well.
Now when I'm accessing matomo with https://new-domain.net/matomo I get the following error:
It seems that the url change script is not updating the php config file to declare the new host name.
Setting the new domain in the file /var/www/matomo/config/config.ini.php solves the issue.
Context
Hardware: VPS bought online
YunoHost version: 11.9.2.1
I have access to my server: Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
Using, or trying to install package version/branch: 5.0.0~ynh2
Steps to reproduce
If the error occurs in your browser, explain what you did:
Go to 'Applications'
Then Click on 'Matomo'
Then type the new domain in https: field
Then Click on Save button
See the script running ok
Go to matomo using the new url, and see the error page.
Expected behavior
The config file of matomo is updated to reflect the new domain name.
How to post a meaningful bug report
Describe the bug
Matomo version : 5.0.0~ynh2
Using the yunohost webadmin interface, I've changed the url from 'old-domain.net'/matomo to 'new-domain.net'/matomo The script run and worked well. Now when I'm accessing matomo with https://new-domain.net/matomo I get the following error:
It seems that the url change script is not updating the php config file to declare the new host name. Setting the new domain in the file /var/www/matomo/config/config.ini.php solves the issue.
Context
Steps to reproduce
Expected behavior
The config file of matomo is updated to reflect the new domain name.
Logs
Logs of the url change script: https://paste.yunohost.org/raw/lejipijolo