• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

piwik configuration

Status
Not open for further replies.

digaoddc

New Pleskian
Hi,

I'm installing 2 apps(Drupal and Piwik) on my plesk linux 11.5 through the command line utilities . Drupal has no problem, but piwik requires Server-Wide Settings in order for customers to use it .

Manually, it is possible to configure piwik settings with these steps:

1 - Add the Catalog app by using Tools & Settings > Application Vault > My Apps > Add App.

2 - Select the app from the list in the My Apps tab and submit the settings.

But how can I do that through the command utilities? Because we have many servers and it is not an option to configure manually one by one .

I've attached a print screen of the app that i'm trying to configure using command line utilities.

please help me
 
Look at

# /usr/local/psa/bin/aps --help

Maybe it will help.
 
I tried to use the "aps" utility, but it does not help .

The "siteapp" utility is not present on my /usr/local/psa/bin directory, how could that be?? According to this documentation, it should be useful .
 
Putting that aside, how can I configure Piwik via command line and make it avaliable to clients install it, without have to do it manually??
 
If someone go through the same problem, here's a fix that i've found .

Please close this thread .

1. Find the latest version in "http://apscatalog.com/all-app.atom?name=piwik" and get URL of ZIP archive.

2. Download zip archive

3. Import the package:

[root@plesk-02 ~]# /usr/local/psa/bin/aps -ip piwik.zip -visible true

The APS package imported successfully. Package id: 4

GUID: 9ad8dcb7-d0c1-4fe4-a0dd-f40feb70970f

4. Go to Plesk database:

mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

5. Run these two update statements:

update apsc.aps_package_global_setting set value = 'linuxsharedhosting' where name = 'hosting';

update psa.smb_apsPackages set globalSettingsNotSet = 0 where name = 'Piwik';

Thank you!
 
Status
Not open for further replies.
Back
Top