Questions and answers

Before and after installing

Does the app delete anything when it is installed?

No. Every rule that can delete is switched off after installation. The app reads the site and shows reports. A rule deletes only after a Confluence administrator has ticked Delete automatically in its card and confirmed the question that follows.

What is the connection to the retention rules of Confluence Data Center?

Confluence Data Center has retention rules for page versions, attachment versions and the trash. Confluence Cloud has no such setting. The app adds rules of the same three kinds to Confluence Cloud: keep a number of versions or keep them by age, and purge the trash after a set time, for the whole site or with rules of its own for a space.

Can something the app deleted be restored?

No. Purged content and deleted versions do not go to the trash. The only action that can be undone is moving an unused file to the trash: it stays there until somebody restores it or it is purged.

How much storage will come back?

The block What can be freed on the Overview tab adds up the older versions of files, the files in the trash and the files nothing refers to. Older versions are partly an estimate; the block says how much of the figure is measured.

Why is storage on archived pages not part of What can be freed?

No rule frees it while a page is archived: the version rules act on current pages only, and Confluence closes an archived page for editing. The report shows the amount on a line of its own, so the sum above it stays what the rules and the Unused tab can reach.

How is the storage on archived pages freed?

In Confluence, by restoring or deleting the page. A page restored from the archive (Space settings → Content → Archived) is a current page again, and the version rules of its space apply to it. Confluence asks where in the content tree to put it; check first whether the page relies on inherited restrictions, because in a new place it can become visible to more people. A deleted page goes to the trash of the space with its files, and its storage comes back when the trash is purged. Restored from the trash, it comes back as a current page, not as an archived one. An archived space is another thing: its pages stay current pages, and the rules leave the space alone until an administrator includes it.

Does deleting old versions of pages free storage?

Almost none. Pages take very little storage; deleting their old versions shortens the history. Storage comes back from old versions of files and from the trash.

On which sites does the app work?

On Confluence Cloud. The app acts in a space only where it has the Admin role there, and only on content it can see.

Rules

When do the rules run?

Once an hour. One run deletes at most the number set as “Deletions per run”, and a day at most the number set as “Deletions per day”. Files moved to the trash by hand on the Unused tab count towards the same limits. A large backlog is worked off over several days.

How do I stop everything at once?

Select Pause all deletion on the Rules tab and confirm. Nothing is deleted and no file is moved to the trash while the pause is on; reports keep working. Resume deletion lifts the pause.

How do I keep a page whatever the rules say?

Put the label retention-exempt on it. Every rule then skips the page and its files, also while they are in the trash. The label on a single file protects that file. The name of the label can be changed on the Rules tab.

The trash rule is set to 30 days. Why is something older still in the trash?

The usual reasons:

What does “keep versions by age” count from?

From the moment a version was replaced by the next one. A version written three years ago that was the current one until last week is one week old for the rule.

What happens to version numbers?

Confluence renumbers the versions that stay. After the oldest version is deleted, the others move down by one.

Do the rules cover blog posts?

Yes. The Trash rule purges pages, blog posts and files. The Page versions rule deletes old versions of pages and of blog posts.

Do the rules apply to personal and archived spaces?

Not unless a Confluence administrator gives such a space the global rules or rules of its own, in the view of the space on the Spaces tab.

Can a space have different rules?

Yes. On the Spaces tab, Edit under the name of a space opens its view, where “Rules of its own” gives it rules of its own. They take the place of the global rules there as a whole.

Can space administrators change the rules?

No. They see the rules of their space on the page of the app in the space settings. When the Confluence administrator allows it, they can switch all rules off for their space.

Unused files

Why is there no rule that moves unused files to the trash by itself?

Because “nothing refers to it” is not the same as “nobody needs it”. Links from Jira, from e-mail and from other sites are invisible to the app. The app lists the files and a person decides.

A file in the list is in use. Why is it listed?

Either the reference is one the app cannot see, or it appeared after the file was sorted, for example in a new comment. Such a file is not moved even when it is picked: the app reads the page, its comments and its cover picture again right before a move.

Read everything again, in Support tools on the Overview tab, reads the whole site again and sorts all files anew, and such a file leaves the list. The time every file has been unused starts over with it: right after it no file can be picked until the period “nothing has referred to it for” has passed again, 30 days with the value set after installation.

Why can a file in the list not be picked?

Its status says kept and gives the reason: it is not yet past the periods of the rule, it was viewed recently, another page refers to it, it is in a space the rules stay out of or where the app lacks the Admin role, the app has found the exemption label on it or on its page (“carries the exemption label”), or the site was last read more than a day ago. While deletion is paused, while the app has no active license, and once the daily deletion limit is reached, no file can be picked at all. The message above the tabs names what stops deletion; the button and the selection are disabled.

What does “needs restore” mean?

The app moved the file to the trash, and since then something has started to refer to it. The Trash rule will not purge it. Restore it in the trash of its space.

Access and permissions

Why am I asked to allow access when I open the app?

The app checks whether the person in front of it is an administrator before it answers requests from its pages, and it asks Confluence that question in the name of the person. A yes for a Confluence administrator is reused for up to a minute; on the page of a space the question is asked with every request. Atlassian shows every permission of the app in the question. The app uses the permission of the person for this check and for nothing else.

Why does the app ask for permission to write and delete content?

To delete: versions, objects in the trash, and files an administrator picked. The Confluence API offers the deletion of a version only under the general permission to write content. The app does not create or edit pages, comments or files. Every permission and its purpose is listed on the page Data and security.

Who can open the pages of the app?

The admin page: Confluence administrators. The space page: administrators of that space. Confluence hides the pages from everybody else, and the app checks again before it answers.

Why does the app delete nothing in one of the spaces?

Look at the line under the table of the Spaces tab: it names the spaces where the app lacks the Admin role. The app needs that role in a space to purge its trash and to delete versions. It checks by itself once a day; Check now next to the line checks again at once after the role was given.

Data

Can I get the journal or the storage report as a file?

Yes. The Activity tab offers the journal and the Spaces tab the storage report as CSV files. The browser saves a file when its download button is pressed; the app keeps no copy of it and sends it nowhere. The journal file says whether the app or an administrator acted, never whose account it was.

Where is the data of the app kept?

In the storage that Atlassian provides to apps on its Forge platform, in the same location as the Confluence site. The app has no server of its own and sends nothing outside Atlassian.

What does the app store?

An index of the site (names and keys of spaces, titles of pages and files, sizes, dates, version numbers), its settings, and the journal. The text of pages and comments is read to find references to files and is not stored. Details are on the page Data and security.

Can the vendor read the content of my site?

No. The vendor has no access to the data the app stores for a site. The vendor sees what Atlassian shows the developer of an app: the list of sites the app is installed on, usage figures, technical logs, which carry error messages and no titles or user data, and the license information of the Marketplace.

What happens to the data when the app is uninstalled?

Atlassian removes it after its own retention period for app storage. Nothing in Confluence changes.

License

Is there a trial?

Trials are handled by the Atlassian Marketplace. During a trial the app works in full, as with a paid license.

What happens when the trial or the license ends?

The app keeps reading the site and the reports keep working, at 3,000 REST points per hour instead of 50,000. No rule deletes anything and no file is moved to the trash until the license is active again. Settings are kept.

When something looks wrong

“The app is still setting up.”

The first call after an installation or an update creates or changes the tables of the app. As the page says, reload it in a minute.

The previews show zero.

The first read of the site may not have finished. Before it starts the message above the tabs says “The site has not been read yet”; while reading it says “The site is being read”, unless a license or pause message takes that place. The first read starts by itself within about 20 minutes of the installation; Read the site now, in Support tools on the Overview tab, starts it at once. After it finishes, zero can also mean that nothing meets the rule in spaces where it applies and the app has the Admin role. Not counted names spaces left out for lack of that role.

“The settings of this space were changed after its view was opened.”

The view of a space on the Spaces tab stores its values only while the settings of the space are as they were when it was opened. Somebody changed them meanwhile, for example a space administrator who switched the rules off for the space. Nothing was stored. Open the view again and repeat the change.

“The settings were changed after this page was loaded. Nothing is saved.”

On Rules and in the Unused attachments card, a save can meet a change the page has not read yet. Nothing from that save was stored. What you typed stays while the page reads the new settings; check the values and select Save again. A change of the pause, a quota or another card does not clear the open card. If the same card was saved elsewhere, Saved elsewhere explains the conflict; Cancel puts the stored values back.

“Not up to date” or a page that could not be loaded.

Try again reads the affected part again. Not up to date means an earlier result is still shown, with when it was read, because reading it again failed. A loading message or “counting…” is not a completed result.

The figures differ from the storage Atlassian reports for the site.

The app counts the files it can see. Files of restricted pages are missing, older versions are partly estimated, and the index can be up to twelve hours behind.

Something was deleted that should have stayed.

Select Pause all deletion on the Rules tab and confirm, then raise a request through the support page with the time and the name of the object. The Activity tab shows what was deleted, by which action, and when the settings were changed.