~alpine/devel

6 3

Issue with ACF and lua

Details
Message ID
<837d9052-e180-80b9-82cf-ea695cb2fa52@gmail.com>
DKIM signature
missing
Download raw message
Hi Team,

I recently upgraded my linux box (RaspberryPi) and started having issues 
with the ACF web pages. Most information are missing or reported as unknown.

Any suggestion?

Thanks.

=====

# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.18.0
PRETTY_NAME="Alpine Linux v3.18"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"

# uname -r -m
6.1.27-0-rpi aarch64

======

acf.log

Fri Jun  2 19:56:33 2023: Exception: attempt to use a closed file
stack traceback:
         [C]: in ?
         [C]: in function 'call_capture'
         /usr/share/lua/5.2/acf/apk.lua:27: in function 'version'
         /usr/share/lua/5.2/acf/processinfo.lua:11: in function 
'package_version'
         /usr/share/acf/lib//modelfunctions.lua:60: in function 
</usr/share/acf/lib//modelfunctions.lua:56>
         (...tail calls...)
         /usr/share/acf/app//acf_www-controller.lua:507: in function 
</usr/share/acf/app//acf_www-controller.lua:409>
         [C]: in function 'xpcall'
         /usr/share/acf/app//acf_www-controller.lua:409: in function 
'dispatch'
         /usr/share/acf/app//acf_www-controller.lua:137: in function 
</usr/share/acf/app//acf_www-controller.lua:120>
         (...tail calls...)
         [string "/usr/share/acf/app//openssh/openssh-welcome-h..."]:5: 
in function 'viewfunc'
         [string "/usr/share/acf/app//template-html.lsp"]:158: in 
function 'viewfunc'
         /usr/share/acf/app//acf_www-controller.lua:521: in function 
</usr/share/acf/app//acf_www-controller.lua:409>
         [C]: in function 'xpcall'
         /usr/share/acf/app//acf_www-controller.lua:409: in function 
'dispatch'
         [string "acf"]:18: in main chunk

-- 
Daniele Coli'

-=-=-=
Be wiser than other people if you can; but do
not tell them so.
		-- Lord Chesterfield
-=-=-=
Details
Message ID
<CT2ENWEEQS8M.1RQ9P0SH2ZA22@sumire>
In-Reply-To
<837d9052-e180-80b9-82cf-ea695cb2fa52@gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Fri Jun 2, 2023 at 8:13 PM CEST, Daniele Colì wrote:
> Hi Team,
>
> I recently upgraded my linux box (RaspberryPi) and started having issues 
> with the ACF web pages. Most information are missing or reported as unknown.
>
> Any suggestion?

there was(is) a broken dependency of lua-subprocess-0_git20160421,
0_git20141229 would be fixed (apk upgrade -a), but the ARM builders are
currently offline so it doesn't exist yet.

once they're back just running `apk upgrade -a` should fix it

>
> Thanks.
>
> =====
>
> # cat /etc/os-release
> NAME="Alpine Linux"
> ID=alpine
> VERSION_ID=3.18.0
> PRETTY_NAME="Alpine Linux v3.18"
> HOME_URL="https://alpinelinux.org/"
> BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
>
> # uname -r -m
> 6.1.27-0-rpi aarch64
>
> ======
>
> acf.log
>
> Fri Jun  2 19:56:33 2023: Exception: attempt to use a closed file
> stack traceback:
>          [C]: in ?
>          [C]: in function 'call_capture'
>          /usr/share/lua/5.2/acf/apk.lua:27: in function 'version'
>          /usr/share/lua/5.2/acf/processinfo.lua:11: in function 
> 'package_version'
>          /usr/share/acf/lib//modelfunctions.lua:60: in function 
> </usr/share/acf/lib//modelfunctions.lua:56>
>          (...tail calls...)
>          /usr/share/acf/app//acf_www-controller.lua:507: in function 
> </usr/share/acf/app//acf_www-controller.lua:409>
>          [C]: in function 'xpcall'
>          /usr/share/acf/app//acf_www-controller.lua:409: in function 
> 'dispatch'
>          /usr/share/acf/app//acf_www-controller.lua:137: in function 
> </usr/share/acf/app//acf_www-controller.lua:120>
>          (...tail calls...)
>          [string "/usr/share/acf/app//openssh/openssh-welcome-h..."]:5: 
> in function 'viewfunc'
>          [string "/usr/share/acf/app//template-html.lsp"]:158: in 
> function 'viewfunc'
>          /usr/share/acf/app//acf_www-controller.lua:521: in function 
> </usr/share/acf/app//acf_www-controller.lua:409>
>          [C]: in function 'xpcall'
>          /usr/share/acf/app//acf_www-controller.lua:409: in function 
> 'dispatch'
>          [string "acf"]:18: in main chunk
Details
Message ID
<1993978270.3246539.1685734048080@mail.yahoo.com>
In-Reply-To
<837d9052-e180-80b9-82cf-ea695cb2fa52@gmail.com> (view parent)
DKIM signature
missing
Download raw message
 Hopefully ACF is broken on 3.18 and edge due to lua-subprocess update (#14986) · Issues · alpine / aports · GitLab resolves your issue.

| 
| 
| 
|  |  |

 |

 |
| 
|  | 
ACF is broken on 3.18 and edge due to lua-subprocess update (#14986) · I...

The recent update to lua-subprocess 4068ee17 "main/lua-subprocess: upgrade to 0.02_git20160421" broke many...
 |

 |

 |


You should probably do 'apk update' and 'apk upgrade -a', because it will be a package downgrade.
Ted Trask

    On Friday, June 2, 2023 at 02:14:19 PM EDT, Daniele Colì <danielsan.dani@gmail.com> wrote:  
 
 Hi Team,

I recently upgraded my linux box (RaspberryPi) and started having issues 
with the ACF web pages. Most information are missing or reported as unknown.

Any suggestion?

Thanks.

=====

# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.18.0
PRETTY_NAME="Alpine Linux v3.18"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"

# uname -r -m
6.1.27-0-rpi aarch64

======

acf.log

Fri Jun  2 19:56:33 2023: Exception: attempt to use a closed file
stack traceback:
         [C]: in ?
         [C]: in function 'call_capture'
         /usr/share/lua/5.2/acf/apk.lua:27: in function 'version'
         /usr/share/lua/5.2/acf/processinfo.lua:11: in function 
'package_version'
         /usr/share/acf/lib//modelfunctions.lua:60: in function 
</usr/share/acf/lib//modelfunctions.lua:56>
         (...tail calls...)
         /usr/share/acf/app//acf_www-controller.lua:507: in function 
</usr/share/acf/app//acf_www-controller.lua:409>
         [C]: in function 'xpcall'
         /usr/share/acf/app//acf_www-controller.lua:409: in function 
'dispatch'
         /usr/share/acf/app//acf_www-controller.lua:137: in function 
</usr/share/acf/app//acf_www-controller.lua:120>
         (...tail calls...)
         [string "/usr/share/acf/app//openssh/openssh-welcome-h..."]:5: 
in function 'viewfunc'
         [string "/usr/share/acf/app//template-html.lsp"]:158: in 
function 'viewfunc'
         /usr/share/acf/app//acf_www-controller.lua:521: in function 
</usr/share/acf/app//acf_www-controller.lua:409>
         [C]: in function 'xpcall'
         /usr/share/acf/app//acf_www-controller.lua:409: in function 
'dispatch'
         [string "acf"]:18: in main chunk

-- 
Daniele Coli'

-=-=-=
Be wiser than other people if you can; but do
not tell them so.
        -- Lord Chesterfield
-=-=-=
Details
Message ID
<f2fbe9f7-7146-0d64-1e22-b84c8c31e9cd@gmail.com>
In-Reply-To
<1993978270.3246539.1685734048080@mail.yahoo.com> (view parent)
DKIM signature
missing
Download raw message
Thank you Guys!

I tried to downgrade the lua-subprocess using the package from the v3.17 
branch 
(http://mirror.fit.cvut.cz/alpine/v3.17/main/aarch64/lua-subprocess-0.0.20141229-r4.apk), 
but the issue remains.

I'll wait for the build...

-- 
Daniele Coli'

-=-=-=
People who use their intelligence are rare,
few are those who show good-heartedness, and
unique are those who employ both.
		-- Rita Levi Montalcini
-=-=-=
Details
Message ID
<CT2UTLY77X9H.VT98YI3LJEZR@sumire>
In-Reply-To
<f2fbe9f7-7146-0d64-1e22-b84c8c31e9cd@gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Sat Jun 3, 2023 at 9:47 AM CEST, Daniele Colì wrote:
> Thank you Guys!
>
> I tried to downgrade the lua-subprocess using the package from the v3.17 
> branch 
> (http://mirror.fit.cvut.cz/alpine/v3.17/main/aarch64/lua-subprocess-0.0.20141229-r4.apk), 
> but the issue remains.
>
> I'll wait for the build...

that sounds like a different issue entirely then, and not related to the version
of that package at all.
Details
Message ID
<597523738.3354803.1685799463103@mail.yahoo.com>
In-Reply-To
<CT2UTLY77X9H.VT98YI3LJEZR@sumire> (view parent)
DKIM signature
missing
Download raw message
I just tested with the latest x86_64 packages for 3.18, and ACF is working again. So, the lua-subprocess package fix worked.

You would need to install the lua5.2-subprocess package from the 3.17 repo to fix the issue, not the lua-subprocess package.

Ted Trask


On Saturday, June 3, 2023 at 03:58:38 AM EDT, alice <alice@ayaya.dev> wrote: 


On Sat Jun 3, 2023 at 9:47 AM CEST, Daniele Colì wrote:

> Thank you Guys!
>
> I tried to downgrade the lua-subprocess using the package from the v3.17 
> branch 
> (http://mirror.fit.cvut.cz/alpine/v3.17/main/aarch64/lua-subprocess-0.0.20141229-r4.apk), 
> but the issue remains.
>
> I'll wait for the build...


that sounds like a different issue entirely then, and not related to the version
of that package at all.
Details
Message ID
<e09e01c4-dfa9-886e-d71a-23cf487246d2@gmail.com>
In-Reply-To
<1993978270.3246539.1685734048080@mail.yahoo.com> (view parent)
DKIM signature
missing
Download raw message
Great, it worked!

Thanks.

-- 
Daniele Coli'

-=-=-=
Unhappiness is best defined as the difference
between our talents and our expectations.
		-- Edward De Bono
-=-=-=
Reply to thread Export thread (mbox)