Skip to content

Conversation

Copy link

Copilot AI commented Nov 25, 2025

GLPI 11 restructured directories and requires PHP 8.2+. Previous 10.x configuration caused 404/500 errors due to mismatched paths.

Changes

Container Base

  • FrankenPHP: php8.2-alpinephp8.3-alpine
  • GLPI version: 10.0.16/10.0.1711.0.2

Path Corrections

  • GLPI_MARKETPLACE_DIR: ${GLPI_VAR_DIR}/_marketplace/app/public/marketplace
    • GLPI 11 moved marketplace from var directory to root level
    • Updated in both Dockerfile and .env.example for consistency

Image Tags

  • All docker-compose services: 10.0.1611.0.2

Directory Structure

GLPI 11 places the web root at /public/ subdirectory with sensitive directories outside:

/app/public/
├── marketplace/     # Was: /var/lib/glpi/_marketplace
├── public/          # Web root (Caddyfile already points here)
│   └── index.php
├── src/             # Outside web root (security)
└── config/          # Outside web root (security)

Existing Caddyfile configuration (root * /app/public/public) requires no changes.

Compatibility

All console commands used in setup scripts verified compatible:

  • db:install, db:configure, cache:configure, database:check_schema_integrity

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/glpi-project/glpi/releases
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
    • Triggering command: /usr/bin/curl curl -L -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Update the repository to support the latest FrankenPHP and GLPI version 11

I've attempted this manually but each time the end result is a massive 404 or 500 error when frankenphp serves GLPI.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@coderabbitai
Copy link

coderabbitai bot commented Nov 25, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI and others added 3 commits November 25, 2025 19:33
Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
Copilot AI changed the title [WIP] Update repository for latest FrankenPHP and GLPI version 11 Update to GLPI 11.0.2 and FrankenPHP PHP 8.3 Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants