akbooer / openLuup

a pure-Lua open-source emulation of the Vera Luup environment
Apache License 2.0
41 stars 19 forks source link

500 error when running openLuup_install.lua #30

Closed nodecentral closed 3 weeks ago

nodecentral commented 4 weeks ago

Hi @akbooer

Hope all is well, I was having a little play trying to build a install script for openLuup, and encountered the following 500 error when running

--2024-10-27 13:02:05--  https://github.com/akbooer/openLuup/raw/master/Utilities/openLuup_install.lua
Resolving github.com (github.com)... 20.26.156.215
Connecting to github.com (github.com)|20.26.156.215|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/akbooer/openLuup/master/Utilities/openLuup_install.lua [following]
--2024-10-27 13:02:05--  https://raw.githubusercontent.com/akbooer/openLuup/master/Utilities/openLuup_install.lua
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2315 (2.3K) [text/plain]
Saving to: ‘openLuup_install.lua.1’

openLuup_install.lu 100%[===================>]   2.26K  --.-KB/s    in 0s      

2024-10-27 13:02:05 (34.7 MB/s) - ‘openLuup_install.lua.1’ saved [2315/2315]

openLuup_install   2019.02.15   @akbooer
getting openLuup version tar file from GitHub branch master...
un-zipping download files...
getting dkjson.lua...
lua: openLuup_install.lua:45: GitHub download failed with code 500
stack traceback:
    [C]: in function 'assert'
    openLuup_install.lua:45: in main chunk
    [C]: ?

Looks to be with, the url

http://dkolf.de/src/dkjson-lua.fsl/raw/dkjson.lua?name=16cbc26080996d9da827df42cb0844a25518eeb3

This one returns it. http://dkolf.de/dkjson-lua/dkjson-2.8.lua

akbooer commented 3 weeks ago

Ah, yes. I haven't done a fresh install for a while!

Indeed, the issue is that the dkjson repository has moved.

Thanks for the fix!