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

Update Matomo to 3.13 to 4.1.0 leads to blank page #17167

Open
brijoyj opened this issue Jan 30, 2021 · 6 comments
Open

Update Matomo to 3.13 to 4.1.0 leads to blank page #17167

brijoyj opened this issue Jan 30, 2021 · 6 comments
Labels
Likely a server config issue Indicates that the issue is not in Matomo and a fix likely requires a server configuration change.

Comments

@brijoyj
Copy link

brijoyj commented Jan 30, 2021

After upgrade Matomo is not working as expected.
I see a blank page https://xxx.com/index.php?module=CoreUpdater&action=

Logs:
I manually did console core update and leads to the following error. Verified the DB tables are updated.

ERROR [2021-01-30 04:49:23] 3387 Fatal error encountered: /var/www/html/libs/Zend/Db/Statement/Pdo.php(292): Allowed memory size of 134217728 bytes exhausted (tried to allocate 8388616 bytes)
Matomo encountered an error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8388616 bytes) (which lead to: Piwik and/or some plugins have been upgraded to a new version.

Can you tell us what is the issue?

@brijoyj
Copy link
Author

brijoyj commented Jan 30, 2021

image
Further i did all the plugins deactivate, still same issue

@tsteur
Copy link
Member

tsteur commented Jan 31, 2021

Hi @brijoyj sounds like there's a memory issue. Is there any chance you can increase the memory limit to say 256MB and try again? The update itself usually doesn't use much memory. However, it's possible that some query requires a bit of memory if you have eg a lot of users, or heaps of data or so. Do you remember from which version of Matomo you upgraded?

I manually did console core update and leads to the following error. Verified the DB tables are updated.

Be also great to let us know what exactly you mean by "manually" as there a few different ways like "manually executing each query in the database" or "executed the cli update command" etc.

I suppose when you open the regular Matomo URL it redirects you to this URL? This would suggest there's still some update outdanding.

@brijoyj
Copy link
Author

brijoyj commented Feb 1, 2021

I have 2 GB Ram allocated in OpenShift. We are using Nginix Web server for Matomo. We tried upgrading from 3.4.1 to 4.1.0.

i meant to say manually using CLI commands (./console core:update) and it list all the sql queries. So i manually copied and pasted to my MySQL server and ran it. Hope it answers u r question

@tsteur
Copy link
Member

tsteur commented Feb 1, 2021

Any chance you can execute ./console core:update again on the command line and proceed? Maybe it runs through on the CLI to finish the update. If you could otherwise increase the memory for PHP that would likely fix the issue too.

@brijoyj
Copy link
Author

brijoyj commented Feb 5, 2021

I did core:update and the result is the same (memory issue). Not sure how to fix the PHP memory issue. For now i downgraded to 3.14.1 , and its working.

@dev-101
Copy link

dev-101 commented Feb 8, 2021

It doesn't matter how much memory your server has. It matters how much it can allocate to PHP alone. Either edit your PHP ini file and increase 128M to something like 512M, 768M or 1024M or consult your hosting provider for help. Reload / Restart server after the change.

@tsteur tsteur added the Likely a server config issue Indicates that the issue is not in Matomo and a fix likely requires a server configuration change. label Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Likely a server config issue Indicates that the issue is not in Matomo and a fix likely requires a server configuration change.
Projects
None yet
Development

No branches or pull requests

4 participants