Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webserver: upgrade dependencies(nginx sftpgo, php-fpm) #7234

Closed
stephdl opened this issue Dec 30, 2024 · 4 comments
Closed

Webserver: upgrade dependencies(nginx sftpgo, php-fpm) #7234

stephdl opened this issue Dec 30, 2024 · 4 comments
Labels
forge The package belongs to NethForge verified All test cases were verified successfully

Comments

@stephdl
Copy link

stephdl commented Dec 30, 2024

I propose to upgrade webserver with the last dependencies (php-fpm, nginx, sftpgo)

Proposed solution

Check requirements and upgrade to the most updated version

Alternative solutions

stay with previous version of webserver dependencies

Additional context

ghcr.io/nethserver/webserver:1.0.20

@stephdl stephdl self-assigned this Dec 30, 2024
@stephdl stephdl added the forge The package belongs to NethForge label Dec 30, 2024
@stephdl stephdl moved this from ToDo to In Progress in NethServer Dec 30, 2024
@stephdl stephdl changed the title Webserver: upgrade dependencies(nginx sftpgo) Webserver: upgrade dependencies(nginx sftpgo, php-fpm) Dec 30, 2024
stephdl added a commit to NethServer/ns8-webserver that referenced this issue Dec 30, 2024
chore(deps): update drakkan/sftpgo docker tag to v2.6.4 NethServer/dev#7234
stephdl added a commit to NethServer/ns8-webserver that referenced this issue Dec 30, 2024
chore(deps): update nginx docker tag to v1.27.3 NethServer/dev#7234
stephdl added a commit to NethServer/ns8-webserver that referenced this issue Dec 30, 2024
Update PHP-FPM version mappings to latest releases NethServer/dev#7234
@stephdl
Copy link
Author

stephdl commented Dec 30, 2024

QA

the version to test is ghcr.io/nethserver/webserver:1.0.21-dev.1

  • case 1 direct install
    add-module ghcr.io/nethserver/webserver:1.0.21-dev.1
    create some vhosts, one per php version (8.1, 8.2, 8.3)
    drop a phpinfo file by sftpgo
<?php
phpinfo( );
?>

test each vhost to see if the php version is relevant by reaching the url : https://vhost.domain.com/phpinfo.php
the version of php must be increased for php 8.1, 8.2, 8.3 (8.1.31, 8.2.26, 8.3.14)
no error with sftpgo or nginx expected

  • case 2 upgrade
    install the last stable version
    add-module ghcr.io/nethserver/webserver:1.0.20
    create some vhosts, one per php version (8.1, 8.2, 8.3)
    drop a phpinfo file by sftpgo
<?php
phpinfo( );
?>

test each vhost to see if the php version is relevant by reaching the url : https://vhost.domain.com/phpinfo.php
then after that upgrade to the testing version
api-cli run update-module --data '{"module_url":"ghcr.io/nethserver/webserver:1.0.21-dev.1","instances":["webserver1"],"force":true}'
test again each vhost to see if the php version is relevant by reaching the url : https://vhost.domain.com/phpinfo.php
the version of php must be increased for php 8.1, 8.2, 8.3 (8.1.31, 8.2.26, 8.3.14)
no error with sftpgo or nginx expected

@stephdl stephdl added the testing Packages are available from testing repositories label Dec 30, 2024
@stephdl stephdl moved this from In Progress to Testing in NethServer Dec 30, 2024
@stephdl
Copy link
Author

stephdl commented Dec 30, 2024

community verification asked at : https://community.nethserver.org/t/webserver-1-0-21-needs-testers/25138

@DavidePrincipi DavidePrincipi added this to the NethServer 8.4 milestone Jan 7, 2025
@stephdl stephdl removed their assignment Jan 7, 2025
@mrmarkuz
Copy link
Member

mrmarkuz commented Jan 8, 2025

case 1 direct install: works.
case 2 upgrade: works.
All different php version vhosts are accessible and phpinfo shows increased versions.
No bad errors in nginx or sftpgo on Rocky and Debian.

@stephdl
Copy link
Author

stephdl commented Jan 9, 2025

@stephdl stephdl closed this as completed Jan 9, 2025
@github-project-automation github-project-automation bot moved this from Testing to Done in NethServer Jan 9, 2025
@stephdl stephdl removed the testing Packages are available from testing repositories label Jan 9, 2025
@stephdl stephdl moved this from Done to Verified in NethServer Jan 9, 2025
@stephdl stephdl moved this from Verified to Done in NethServer Jan 9, 2025
@stephdl stephdl added the verified All test cases were verified successfully label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forge The package belongs to NethForge verified All test cases were verified successfully
Projects
Status: Done
Development

No branches or pull requests

3 participants