• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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