Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

Installing the App Store

Exponential 6.0.15 or later (the cluster hosts of settings/cluster.ini, the deploy command). An older kernel works on one node, without the deploy step. - PHP 7.4 or later with curl and json. - For installs with…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/ext/exp_app_store/INSTALL.md

On this page

Installing the App Store

Requirements

  • Exponential 6.0.15 or later (the cluster hosts of settings/cluster.ini, the deploy command). An older kernel works on one node, without the deploy step.
  • PHP 7.4 or later with curl and json.
  • For installs with Composer: ezupdate 1.1.30 or later (snapshots, local changes).
  • For installs with git: git_manager 2.0.31 or later (GitManagerWorkingCopy).
  • Optional: expqueue, so an install runs as a job of the queue.

Steps

composer require se7enxweb/exp_app_store
  1. Switch it on: Setup > Extensions, or ActiveExtensions[]=exp_app_store in settings/override/site.ini.append.php.
  2. php bin/php/ezpgenerateautoloads.php --extension
  3. php bin/php/ezcache.php --clear-all (the tab, the module and the stylesheet are new to the caches; the packer bundles stylesheets/modules/appstore.css with the admin's stylesheets).
  4. Roles: give the Administrator role appstore/read and appstore/install. appstore/read alone shows the store and the library without the install buttons.
  5. The first refresh, as the site's user: php extension/exp_app_store/bin/php/appstore.php refresh.

The refresh timer (systemd, no cron)

The answers of the sources are cached (appstore.ini [Cache] TTL[]). A page asks a source only when its cached answer has expired; the timer asks again every six hours, so the pages never wait.

cp extension/exp_app_store/share/systemd/[email protected] /etc/systemd/system/
cp extension/exp_app_store/share/systemd/[email protected] /etc/systemd/system/
I=$(systemd-escape --path "$PWD")
systemctl edit exp-appstore-refresh@$I.service      # [Service] User=<site user>  Environment=PHP=/opt/plesk/php/8.5/bin/php
systemctl daemon-reload
systemctl enable --now exp-appstore-refresh@$I.timer
systemctl start exp-appstore-refresh@$I.service      # once now
journalctl -u exp-appstore-refresh@$I.service -n 20

Nodes

An install runs on every host of settings/cluster.ini ([ClusterSettings] HostList[], one [Host_<name>] block each), the hosts exp:cluster:run and exp:cluster:deploy use. Check them with ./console exp:cluster:hosts --check and php extension/exp_app_store/bin/php/appstore.php nodes. Without the file the App Store installs on this installation only. See INSTALLING_APPS.md.

Something wrong on this page? Report an error

Documentation license

This page is part of the documentation of the extension exp_app_store and is distributed under the license of that extension.