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

Trying to install piwik on synology diskstation #11488

Closed
ghost opened this issue Mar 15, 2017 · 2 comments
Closed

Trying to install piwik on synology diskstation #11488

ghost opened this issue Mar 15, 2017 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@ghost
Copy link

ghost commented Mar 15, 2017

Hello,

I am trying to install piwik on synology. i get this message:

504 There is an error while processing this request.

This message i got when i clicked install in the installation procesdure that comes up clicked the red button.

Before i got to this step i got this message:

An error occurred

Piwik couldn't write to some directories (running as user 'http').

Try to Execute the following commands on your server, to allow Write access on these directories:

chown -R http:www-data /volume1/web/piwik
chmod -R 0755 /volume1/web/piwik/tmp
chmod -R 0755 /volume1/web/piwik/tmp/assets
chmod -R 0755 /volume1/web/piwik/tmp/cache
chmod -R 0755 /volume1/web/piwik/tmp/logs
chmod -R 0755 /volume1/web/piwik/tmp/tcpdf
chmod -R 0755 /volume1/web/piwik/tmp/templates_c
If this doesn't work, you can try to create the directories with your FTP software, and set the CHMOD to 0755 (or 0777 if 0755 is not enough). To do so with your FTP software, right click on the directories then click permissions.

After applying the modifications, you can refresh the page.

If you need more help, try Piwik.org.

at this point i logged into the DSM, diskstation using ssh and did chown and chmod. But it was not possible to do www-data so i did the following commands:

chown -R http:http /volume1/web/piwik
chmod -R 0777 /volume1/web/piwik
chmod -R 0777 /volume1/web/piwik/tmp
chmod -R 0777 /volume1/web/piwik/tmp/assets
chmod -R 0777 /volume1/web/piwik/tmp/cache
chmod -R 0777 /volume1/web/piwik/tmp/logs
chmod -R 0777 /volume1/web/piwik/tmp/tcpdf
chmod -R 0777 /volume1/web/piwik/tmp/templates_c

It was after that i had done the above commands that i got to the installation screen with the 8 steps but when i clicked the red button to do the first step then it broke down and i ended up at:

504 There is an error while processing this request.

So i couldnt do step two in the installation procedure. Please help me and show me how i am going to get through the installation procedure.

My operating system is (when i type uname -a):

Linux cross 3.2.40 #15047 Tue Feb 14 02:38:20 CST 2017 armv7l GNU/Linux synology_armada370_216se

Please tell me how to get a head or give me some advice on possible things i can do to install piwik manually on my diskstation.

I should also say that i have apache http server 2.2 and php 5.6 installed and running on a virtual server pointing to the folder of piwik.

So what happens is i get to the installation screen with the 8 steps but then when i click the red next button to get to the system check there is a long wait and then i get the 504 error.

Regards Mattias

@mattab
Copy link
Member

mattab commented Mar 21, 2017

504 There is an error while processing this request.

Please check your web server error logs. see also https://piwik.org/faq/troubleshooting/faq_19489/

@mattab mattab closed this as completed Mar 21, 2017
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Mar 21, 2017
@mattab
Copy link
Member

mattab commented Jun 21, 2021

btw here is an article on how to install Matomo on Synology: https://mariushosting.com/how-to-install-matomo-on-your-synology-nas/

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

1 participant