[PR #865] Fix Alpine-Nextcloud: Bump PHP Version to 8.3 #2731

Closed
opened 2025-11-20 05:31:32 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/community-scripts/ProxmoxVE/pull/865

State: closed
Merged: Yes


🛠️ Note:
We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal!
🎮 Note for game-related scripts: These have a lower likelihood of being merged.


✍️ Description

Provide a summary of the changes made and/or reference the issue being addressed.

The newest nextcloud install automaticaly installs PHP 8.3. It fails at this point: sed -i -E '/^php_admin_(flag|value)\[opcache/s/^/;/' /etc/php82/php-fpm.d/nextcloud.conf

I´ve bumped the PHP Version to 8.3 and also included $STD apk add nextcloud-occ and chown -R nextcloud:www-data /usr/share/webapps/nextcloud/ to get the occ command to work correctly again. It would not work without this to changes since the Release of nextcloud 29.0.4. This is the Version where occ becomes its own package:

occ



🛠️ Type of Change

Please check the relevant options:

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts)

Prerequisites

The following steps must be completed for the pull request to be considered:

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • Testing performed (I have thoroughly tested my changes and verified expected functionality.)
  • Documentation updated (I have updated any relevant documentation)

📋 Additional Information (optional)

Provide any extra context or screenshots about the feature or fix here.

**Original Pull Request:** https://github.com/community-scripts/ProxmoxVE/pull/865 **State:** closed **Merged:** Yes --- > **🛠️ Note:** > We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal! > 🎮 **Note for game-related scripts:** These have a lower likelihood of being merged. --- ## ✍️ Description Provide a summary of the changes made and/or reference the issue being addressed. The newest nextcloud install automaticaly installs PHP 8.3. It fails at this point: `sed -i -E '/^php_admin_(flag|value)\[opcache/s/^/;/' /etc/php82/php-fpm.d/nextcloud.conf` I´ve bumped the PHP Version to 8.3 and also included `$STD apk add nextcloud-occ` and `chown -R nextcloud:www-data /usr/share/webapps/nextcloud/` to get the occ command to work correctly again. It would not work without this to changes since the Release of nextcloud 29.0.4. This is the Version where occ becomes its own package: ![occ](https://github.com/user-attachments/assets/cfb9c438-6737-4289-a9f0-29a0175e932a) - - - - Related Issue: #813 --- ## 🛠️ Type of Change Please check the relevant options: - [X] Bug fix (non-breaking change that resolves an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts) --- ## ✅ Prerequisites The following steps must be completed for the pull request to be considered: - [X] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.) - [X] Testing performed (I have thoroughly tested my changes and verified expected functionality.) - [ ] Documentation updated (I have updated any relevant documentation) --- ## 📋 Additional Information (optional) Provide any extra context or screenshots about the feature or fix here.
saavagebueno added the pull-request label 2025-11-20 05:31:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2731