Skip to content

Install the server app

Pantry ships as a Nextcloud app. The easiest way to install it is straight from the App Store built into your Nextcloud — no command line needed.

  1. Sign in to your Nextcloud as an administrator.

  2. Open your profile menu (top right) and choose Apps.

  3. Search for Pantry, or find it under the Organization category.

  4. Select Download and enable.

Nextcloud downloads the app and runs its database migrations for you. Pantry then appears in the top navigation, ready to use.

If you manage the server over SSH or automate deployments, you can enable the app with occ instead. Run it as the user that owns your Nextcloud files (commonly www-data; on some setups nginx or apache):

Terminal window
sudo -u www-data php occ app:enable pantry

Pantry registers a background job that keeps connected clients in sync. Make sure Nextcloud’s background jobs run on a schedule — Cron is strongly recommended over AJAX:

Terminal window
sudo -u www-data php occ background:cron

Then confirm the system cron entry runs cron.php every 5 minutes, per the Nextcloud background jobs documentation.

  • Pair a client — connect the app on your phone or desktop.
  • Permissions — set up house roles and decide who can do what.