nextcloud / nextcloud/ansible-collection-nextcloud-admin

Debian 13 is missing php8.4-imap, so the installer quits with an error

Open
#422 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
165
Forks
86
Avg merge
15d 13h
Merged PRs (30d)
1

Description

I am afraid the installer is broken for Debian 13 due to the missing php8.4-imap dependency. It just quits with an error. https://github.com/nextcloud/ansible-collection-nextcloud-admin/blob/0f9522632576b6a1124264d5301f4d0c794f0692/roles/install_nextcloud/tasks/php_install.yml#L18

I understand the reason is that it was moved in PHP 8.4, so this will be an issue for anyone using PHP 8.4, not just Debian: https://php.watch/versions/8.4/imap-unbundled

It seems like the extension is dead:

Given the problematic nature of the IMAP extension, it is not recommended to use the IMAP extension.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at roles/install_nextcloud/tasks/php_install.yml around line 18 and inspect how PHP extensions are selected and installed on Debian. Check the PHP 8.4 IMAP packaging information and existing role tests or validation paths. Done means the installer no longer quits because of the missing php8.4-imap dependency while preserving the intended PHP installation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, debian, php
Domain
devops, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.