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

Closed
opened 2026-02-26 13:31:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/865
Author: @michelroegl-brunner
Created: 12/17/2024
Status: Merged
Merged: 12/17/2024
Merged by: @MickLesk

Base: mainHead: alpine-nextcloud


📝 Commits (3)

  • 1738bd6 Fix Alpine Nextcloud: Bump PHP Version to 8.3
  • ec7b850 Fix Alpine-Nextcloud: Bump PHP Version to 8.3
  • a96138e Replace deprecated mysql_install_db

📊 Changes

1 file changed (+22 additions, -20 deletions)

View changed files

📝 install/alpine-nextcloud-install.sh (+22 -20)

📄 Description

🛠️ 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


  • Related Issue: #813

🛠️ 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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/865 **Author:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Created:** 12/17/2024 **Status:** ✅ Merged **Merged:** 12/17/2024 **Merged by:** [@MickLesk](https://github.com/MickLesk) **Base:** `main` ← **Head:** `alpine-nextcloud` --- ### 📝 Commits (3) - [`1738bd6`](https://github.com/community-scripts/ProxmoxVE/commit/1738bd6de0917b9e0f25eb658f2a789053651ae2) Fix Alpine Nextcloud: Bump PHP Version to 8.3 - [`ec7b850`](https://github.com/community-scripts/ProxmoxVE/commit/ec7b850fb86aef20f18436aab3255f2e342236f9) Fix Alpine-Nextcloud: Bump PHP Version to 8.3 - [`a96138e`](https://github.com/community-scripts/ProxmoxVE/commit/a96138e0706c43a08dc4bfefb16d616f3efa632c) Replace deprecated mysql_install_db ### 📊 Changes **1 file changed** (+22 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `install/alpine-nextcloud-install.sh` (+22 -20) </details> ### 📄 Description > **🛠️ 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 13:31:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2903
No description provided.