Closed Danrancan closed 2 years ago
See https://github.com/apache/incubator-pagespeed-ngx/issues/1749 (closing this as a duplicate -- this was resolved via https://github.com/apache/incubator-pagespeed-ngx/pull/1751)
See #1749 (closing this as a duplicate -- this was resolved via #1751)
Dang, I checked out your link and read through the conversations, but I can't find any resolution still. It doesn't seem like anyone actually posted a real solution for compiling correctly. I am a noob so I am sorry if I am missing something. Do you think you could be a bit more specific as to the solution to this? Maybe point me in the right direction? Thanks.
I am using my PR1750 patch for later nginx-1.23.0. https://github.com/shigechika/nginx-module-pagespeed/blob/master/PR1750.diff
I am using my PR1750 patch for later nginx-1.23.0. https://github.com/shigechika/nginx-module-pagespeed/blob/master/PR1750.diff
To actually apply this patch I downloaded the raw file into my git directory and ran git apply /path/to/some-changes.patch
. Is the the correct method of applying the patch?
Do you know how to patch
command and it's usage?
ex. patch -p1 < PR1750.diff
@shigechika No I have never used the patch
command. Should I be using that instead of my suggestion? I did end up using git apply
command and things compiled correctly. Not sure if I need to go back and use the patch
command instead now.
Hello, we just noticed this with nginx-1.23.1
on Ubuntu 20.04, official script:
bash <(curl -f -L -sS https://ngxpagespeed.com/install) \
--nginx-version latest
Is there going to be a patch in the official version at https://ngxpagespeed.com/install? How to resolve?
We were forced to roll back to the previously installed version for now:
sudo apt-cache showpkg nginx |grep 1.21
sudo apt install nginx=1.21.6-1~focal
And then
bash <(curl -f -L -sS https://ngxpagespeed.com/install) \
--nginx-version 1.21.6
Please advice, if possible. Referencing issue #1752
@ronilaukkarinen I thought that with that last change having landed on master, this problem would have been resolved.
But it's not -- the latest-stable tag is used in this install flow (looking at what happens with respect to $NPS_VERSION
in that https://ngxpagespeed.com/install script).
So it looks like we need to produce a new stable release in order to fix this..
@oschaaf Thank you for the information. So you mean the command will work with --ngx-pagespeed-version set up specifically to latest-stable
?
bash <(curl -f -L -sS https://ngxpagespeed.com/install) \
--nginx-version latest
--ngx-pagespeed-version latest-stable
We'll test it out in the extra maintenance window next week.
@ronilaukkarinen we will need to produce a new stable release before the install script will pick it up like that. It doesn't make sense to try it out as it stands (step one would be the new stable release).
@oschaaf I see. I mistakenly thought there's a separate --latest-stable
option that works. But in that case we'll just wait for the next new stable and hold back ngx-pagespeed updates for now. 👍
@oschaaf Any progress?
@oschaaf Any update?
FYI, this seems worth trying.
FYI, this seems worth trying.
The procedure on https://github.com/apache/incubator-pagespeed-ngx/issues/1760 should work, however the PSOL I provide there is compiled on x64 so you need to change the downloadlink for the aarch64 psol
@oschaaf Any progress?
@eilandert We decided not to try your procedure in production... we have Ubuntu 20.04.5 LTS (focal), x86_64.
This should be fixed.
I am running Ubuntu 20.04 Server, and attempting to compile this module against nginx mainline 1.23.1. Howver, there are errors when using the make command. Please see details below or check https://pastebin.com/qYksN26k.
This is the pagespeed "make" command being compiled against a patched PSOL Library for aarch64 on raspberry pi 4. We are compiling with Nginx Mainline 1.23.1. Locate the patched library at: https://gitlab.com/gusco/ngx_pagespeed_arm. This #make is broken and needs to be updated by developers.