installation Lua and OpenLuup

I raspberri 1 and Raspbian on board
I install Lua - like all works, but when you install OPENLUP
he says - no such file or directory

apt-get install lua5.1

apt-get install lua-socket

apt-get install lua-filesystem

apt-get install lua-sec

after installing something whether it is necessary to do more ??
compile?

run the install script in openLuup_install.lua from GitHub…

lua5.1 openLuup_install.lua

he says - no such file or directory

I do not know much about Lynx
but really I want to try and OPENLUP ALTUI
can someone describe step by step action ???
In simple terms - because it has to translate …

I’m sorry, and thank you

can anyone share the image with LUA and OpenLoop ??
for raspberry 1

I am a complete lamer in the linux affairs …

I have installed .
Raspbian Jessie Lite (Debian 8, Lite калорий) 8 для Raspberry Pi (2 и 3) - CudaNet
everything is working…

how to install plug-ins?
how to set the Verabridge?
how to install other plug-ins?

no buttons to install and no plug-in bridge …
what to do?

that’s how it looks …
I can not install
Thank you

Can you post a log from cmh-ludl/LuaUPnP.log ?
Also a picture, perhaps of the device page so we can see what IS installed?
Do you know what version of openLuup this is? … it may be too old to have update built in.

Image downloaded yesterday
I do not know how to show you log

raspberri without the z-wave - I still have Veralite
that’s it, and I want to see

and installation of other plug-ins …
I have not found how to do it …

so that the matter ----- NO button to update !!!

This whole thing ----- NOT ^refresh^ button !!!

button is missing - “update”

This is a very old openLuup system, and a very old version of AltUI. The best way to upgrade is to

[ol][li]update AltUI by refreshing the browser page and accepting the update.[/li]
[li]replace the entire content of your openLuup/ directory with that here: openLuup GitHub Master[/li]
[li]restart the system[/li][/ol]

if you do not mind … please
Could you write how to do it ??
I understand there are several commands …
which commands ??

or just need to download and re-write ?? what folder?

ALTUI - updated itself today after installation - then the latest version?

[quote=“kiber111, post:9, topic:193096”]if you do not mind … please
Could you write how to do it ??[/quote]

-- first-time download and install of openLuup files from GitHub

local lua = "lua5.1"     -- change this to "lua" if required

local x = os.execute
local p = print

p "openLuup_install   2016.06.08   @akbooer"

local http  = require "socket.http"
local https = require "ssl.https"
local ltn12 = require "ltn12"
local lfs   = require "lfs"

p "getting latest openLuup version tar file from GitHub..."

local _, code = https.request{
  url = "https://codeload.github.com/akbooer/openLuup/tar.gz/master",
  sink = ltn12.sink.file(io.open("latest.tar.gz", "wb"))
}

assert (code == 200, "GitHub download failed with code " .. code)
  
p "un-zipping download files..."

x "tar -xf latest.tar.gz" 
x "mv openLuup-master/openLuup/ ."
x "rm -r openLuup-master/"
   
p "getting dkjson.lua..."
_, code = http.request{
    url = "http://dkolf.de/src/dkjson-lua.fsl/raw/dkjson.lua?name=16cbc26080996d9da827df42cb0844a25518eeb3",
    sink = ltn12.sink.file(io.open("dkjson.lua", "wb"))
  }

assert (code == 200, "GitHub download failed with code " .. code)

p "creating required files and folders"
lfs.mkdir "files"
lfs.mkdir "icons"

local vfs = require "openLuup.virtualfilesystem"

local function add_vfs_file (name)  
  local f = io.open (name, "wb")
  f: write (vfs.read (name))
  f: close ()
end

add_vfs_file "index.html"

local reload = "openLuup_reload"
local pathSeparator = package.config:sub(1,1)   -- thanks to @vosmont for this Windows/Unix discriminator
if pathSeparator ~= '/' then reload = reload .. ".bat" end   -- Windows version

add_vfs_file (reload)

p "initialising..."

x "chmod a+x openLuup_reload"

local s= require "openLuup.server"
local ip = s.myIP or "openLuupIP"

p "downloading and installing AltUI..."
x (lua .. " openLuup/init.lua altui") 

x "./openLuup_reload &"
p "openLuup downloaded, installed, and running..."
p ("visit http://" .. ip .. ":3480 to start using the system")

-----

Run the file using the command line:

$ lua5.1 openLuup_install

If successful, the script produces console output like this:

# lua5.1 install.lua openLuup_install 2016.06.08 @akbooer getting latest openLuup version tar file from GitHub... un-zipping download files... initialising... downloading and installing AltUI... Wed Jun 8 18:16:35 2016 device 0 '_system_' requesting reload openLuup downloaded, installed, and running... visit http://172.16.42.131:3480 to start using the system #

and browsing the reported URL will take you to the AltUI interface and see two devices: openLuup and AltUI. From here on, the interface can be used to configure the system.

a single file or an entire folder should be rewritten?

Two options:

[ol][li]replace the entire contents of openLuup/ directory from GitHub[/li]
[li]OR, just copy and run the file from the previous post (in an empty directory)[/li][/ol]

If you know how, then (1) is easiest. If you get stuck, just start from scratch with (2).

IF you can wait, I’ll update the Raspbian image tonight. Going forward, I’m going to disable all image downloads (with exception of VirtualBox as it’s already at v8) that have v7 until I can find time to update each one.

Raspbian Jessie Lite (Debian 8, Lite калорий) 8 для Raspberry Pi (2 и 3). ?
I will be very happy - waiting for the update
and when this happens?

I find it easier to copy the entire folder

all thank you very much

replaced the folder Open Loop
now it stands and says - Waiting Initial Data
and nothing happens

CudaNet - Thank you very much for your image - all works fine

For a start, you are posting the same question on multiple threads. Please don’t do that.

most interesting is that now I can not Delete-)))
set for interest - Surveillance Station Remote (BETA)
I click uninstall - says, yes - then - reload loop
and all the plug-in on site -))
as he was and remained
I understand - now only if the files are deleted from the SMD-LUDL ??