Lesson 5.2: The packages pages in the administration
Setup > Packages shows every package of every repository, explains what each carries and protects the packages new installations are built from. This lesson is a guided tour: the overview, the repositories, the search, a package's page and its actions. Nothing in the tour changes the site until a button is pressed, and the exercise presses only safe ones.
At a glance
| Course | Multisite and site packages |
| Module | Module 5: Site packages |
| Duration | 45 minutes (15 presenting, 30 exercise) |
| Level | Intermediate |
| Audience | Administrators |
| Prerequisites | Lesson 5.1; an administrator account on the training installation |
Learning objectives
After this lesson, learners can:
- read the overview figures and the repository tiles of Packages;
- find packages by search, repository, type and state, and bookmark the result;
- read a package's page: details, what it carries, its files;
- explain why a package is marked Installer source;
- explain that removing a package deletes its directory and does not uninstall it.
Trainer's notes
How to present it
Source: Packages: what they carry, where they live, and how to handle them safely. The labels below are those of the admin4 design.
- The list (5 minutes). Setup > Packages (
/package/list): the page intro, the Overview (packages, installed, not installed, imported only, installer sources, total size and files, unreadable), the Repositories tiles (the installer's repository is marked "Setup wizard's repository"), Find packages and All packages. Apply turns the search into the page address, so it can be bookmarked. - Installer sources (3 minutes). A package is an installer source when it is in the setup wizard's repository, when it is a site package, or when an installer source requires it. Removing one needs an extra confirmation box.
- A package's page (5 minutes). Open
sevenx_multisite: the title row (version, type, state, Installer source), the actions (here Download, Download as JSON, Validate, Remove), the notice that a site package with the install type "import" has nothing to install on its own, Details, What it carries, Changelog and Package contents, a paged file browser where each file can be viewed or downloaded. - Removing (2 minutes). The confirmation lists what goes. The directory is deleted with everything in it; what
the package installed stays. Each removal is recorded in the audit trail as
system.package.remove. Download a package first to keep a copy.
Common questions
Who may see and use these pages? Each action has its policy: package/list, package/read, package/export,
package/import, package/install, package/remove and package/create, most of them limited by type. Buttons
your role does not allow are greyed out or not shown.
What does Validate check? The same as an upload: each document well formed, the JSON documents against their schema and the checksums of a JSON package. It shows what was checked, or every problem.
What is "N directories without a package definition"? Leftovers of exports or wizards that ended early; nothing reads them, and the list does not show them.
Why is a package missing from the list? Its package.xml cannot be read, or names another package than its
directory; a warning above the list names the directory.
Pitfalls
- Pressing Remove to "clean up". Never on an installer source, and never on a shared training server. The exercise does not remove anything.
- Expecting Install on a site package. There is none; the page explains why.
- Large packages. The file browser pages its list; use the type filter and the path search.
Hands-on exercise
Use your training installation and an administrator account. Do not press Remove or Install in this lesson.
- Open Setup > Packages. Note the figures under Overview.
- Under Repositories, find the tile marked "Setup wizard's repository" and note its counts and installer sources.
- Under Find packages, choose the Repository
7xand press Apply. Copy the page address: it carries the choice. - Change Type to
site(or searchsite) and press Apply. Which package remains? - Open the card of
sevenx_multisitewith View. - Read Details: license, maintainers, requirements (Requires), Required by and the Exponential version it was made for.
- Read the notice about the install type and the three reasons it is an installer source.
- In What it carries, open Settings files and compare with lesson 5.1, step 4.
- In Package contents, set Type to "Package definition" and View
package.xml. - Press Validate and read the result.
- Press Download and save the
.ezpkgfile. Note its name and size.
Expected result
- Step 3: the address ends in the repository, for example
/package/list/7x, and lists only that repository. - Step 4:
sevenx_multisite(and any other site package of the repository). - Step 7: in the setup wizard's repository; a site package the setup wizard offers; and, where applicable, required by another installer source.
- Step 10: the validation passes and lists what was checked.
- Step 11: a file
sevenx_multisite-<version>.ezpkg; the package itself was only read. - The trainer checks step 10 on the projector.

Quiz
- Name the three reasons a package is an installer source.
- You remove a package that was installed. What happens to the classes it created? A. They are removed B. They stay C. They are hidden D. They move to the trash
- Which policy lets a user download a package?
- Why does
sevenx_multisitehave no Install button? - Where is a package removal recorded?
Answers
- It is in the setup wizard's repository (
7x); it is a site package the setup wizard offers; an installer source requires it (Packages, 4. Installer sources). - B. Removing deletes the package's directory; what it installed stays.
package/export.- Its install type is "import": a site package is imported by the setup wizard with the packages it requires and is not installed on its own.
- In the audit trail, as
system.package.remove.
Further reading
- Packages: what they carry, where they live, and how to handle them safely.
- The JSON package format.
- Audit trail.
- Validating a package.
Related pages
- Module 5: Site packages
- Multisite and site packages: course overview
- Trainers: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.