Have you followed the mini tutorial on the website?
There is a hierarchy to be respected and apparently you haven’t done it, hence your errors. I therefore invite you to check out the following link Develop a module
For the explanation, in your logs you have this line
It indicates that Gladys was not able to find the exec file of the module. In fact, when you create a module, this file must imperatively be present and, moreover, in a folder named lib (which itself must be at the root of the module) because this is the file that will be called first and will redirect to the others (it’s like a central pillar if you will).
If you’re talking about Gladys data, then yes. Otherwise, if you’re referring to the 3.7.3 update, no, I’m still waiting a bit for feedback before updating my devices .
What does it say in your logs?
Is it just me or did you click the button after the end of the installation of your module?
You say you are on 3.7.2? In this case, without seeing the logs, how do you know if Gladys has finished restarting?
0|gladys | House : checkUsersPresence
0|gladys | Cloning module hdmiCec…
0|gladys | Installing NPM dependencies for module hdmiCec
0|gladys | Dependencies installed for module hdmiCec
0|gladys | Module hdmiCec installed with success. Need reboot.
0|gladys | undefined
0|gladys | Warning: connect.session() MemoryStore is not
0|gladys | designed for a production environment, as it will leak
0|gladys | memory, and will not scale past a single process.
0|gladys | Warning: connect.session() MemoryStore is not
0|gladys | designed for a production environment, as it will leak
0|gladys | memory, and will not scale past a single process.
0|gladys | =======================================
0|gladys | WARNING: You currently have your default CORS settings configured to allow
0|gladys | all requests from all origins, with credentials. This may leave your app
0|gladys | open to attack by third-party sites! Consider making your origins setting
0|gladys | more restrictive or setting credentials to false, or else make certain that
0|gladys | none of your routes perform sensitive actions or reveal secure information.
0|gladys | =======================================
0|gladys | Gladys version : 3.7.2
0|gladys | Bootstrap is taking unusually long to execute its callback (2000 milliseconds).
0|gladys | Perhaps you forgot to call it? The callback is the first argument of the function, cb.
0|gladys | Gladys brain loaded with success !
0|gladys | Scheduled sunrise to 11/19/2017, 8:17:51 AM.
0|gladys | Scheduled alarm googleSynch, with id 2
0|gladys | Scheduled alarm check presence, with id 4
0|gladys | Scheduled sunset to 11/19/2017, 5:29:05 PM.
0|gladys | .-..-.
0|gladys | Sails <| .-..-.
0|gladys | v0.12.13 |\
0|gladys | /|.\
0|gladys | / || \
0|gladys | ,’ |’ \
0|gladys | .-‹ .-==|/_– ›
0|gladys | --'-------' 0|gladys | __---___--___---___--___---___--___ 0|gladys | ____---___--___---___--___---___--___-__ 0|gladys | Server lifted in /home/pi/gladys`
0|gladys | To see your app, visit http://localhost:8080
0|gladys | To shut down Sails, press + C at any time.
0|gladys | -------------------------------------------------------
0|gladys | :: Sun Nov 19 2017 16:51:00 GMT+0100 (CET)
0|gladys | Environment : production
0|gladys | Port : 8080
0|gladys | -------------------------------------------------------
0|gladys | NetworkScanner will scan network each 30 minutes.
0|gladys | New version of Gladys available : 3.7.3
0|gladys | Network scan completed. Found 7 devices.
And after the reboot the module is no longer present.
0|gladys | Cloning module Device-HTTP…
0|gladys | Installing NPM dependencies for module Device-HTTP
0|gladys | Dependencies installed for module Device-HTTP
0|gladys | Module Device-HTTP installed with success. Need reboot.
0|gladys | undefined
0|gladys | Warning: connect.session() MemoryStore is not
0|gladys | designed for a production environment, as it will leak
0|gladys | memory, and will not scale past a single process.
0|gladys | Warning: connect.session() MemoryStore is not
0|gladys | designed for a production environment, as it will leak
0|gladys | memory, and will not scale past a single process.
0|gladys | =======================================
0|gladys | WARNING: You currently have your default CORS settings configured to allow
0|gladys | all requests from all origins, with credentials. This may leave your app
0|gladys | open to attack by third-party sites! Consider making your origins setting
0|gladys | more restrictive or setting credentials to false, or else make certain that
0|gladys | none of your routes perform sensitive actions or reveal secure information.
0|gladys | =======================================
0|gladys | Gladys version : 3.7.2
0|gladys | Gladys brain loaded with success !
0|gladys | Scheduled sunrise to 11/19/2017, 8:17:51 AM.
0|gladys | Scheduled alarm googleSynch, with id 2
0|gladys | Scheduled alarm check presence, with id 4
0|gladys | Scheduled sunset to 11/19/2017, 5:29:05 PM.
0|gladys | .-..-.
0|gladys | Sails <| .-..-.
0|gladys | v0.12.13 ||
0|gladys | /|.
0|gladys | / |
0|gladys | ,’ |’
0|gladys | .-'.-==|/_–
0|gladys | --'-------' 0|gladys | __---___--___---___--___---___--___ 0|gladys | ____---___--___---___--___---___--___-__ 0|gladys | Server lifted in /home/pi/gladys0|gladys | To see your app, visit http://localhost:8080 0|gladys | To shut down Sails, press <CTRL> + C at any time. 0|gladys | ------------------------------------------------------- 0|gladys | :: Sun Nov 19 2017 17:09:47 GMT+0100 (CET) 0|gladys | Environment : production 0|gladys | Port : 8080 0|gladys | ------------------------------------------------------- 0|gladys | NetworkScanner will scan network each 30 minutes. 0|gladys | New version of Gladys available : 3.7.3 0|gladys | Network scan completed. Found 7 devices. 0|gladys | Socket disconnected, but session could not be loaded to pass to configured disconnect handler:sails.config.sockets.afterDisconnect()`. Will pass a fake, empty session as argument to lifecycle callback. Details:
0|gladys | Error: Session could not be loaded
0|gladys | at _createError (/home/pi/gladys/node_modules/sails/lib/hooks/session/index.js:31:19)
0|gladys | at Immediate. (/home/pi/gladys/node_modules/sails/lib/hooks/session/index.js:34:11)
0|gladys | at runCallback (timers.js:676:20)
0|gladys | at tryOnImmediate (timers.js:645:5)
0|gladys | at processImmediate [as _immediateCallback] (timers.js:617:5)
0|gladys | Event : create : new Event with code : alarm
0|gladys | Scenario : Trigger : New event : alarm
0|gladys | Scenario : Trigger : Found 2 launchers with code alarm.
0|gladys | Scenario : Trigger : Launcher condition verified.
0|gladys | Scenario : Trigger : Condition not verified.
0|gladys | Scenario : Trigger : Conditions verified, starting all actions.
0|gladys | Scenario : exec : Found 1 actions to execute.
0|gladys | Executing action « Execute a script »
0|gladys | House : checkUsersPresence
I followed the installation tutorial that I shared earlier.
Could you provide me with a link? I’ll start from scratch and reset my SD card, I don’t have any other one ^^
Please
I’m not sure if I saw the tutorial for HTTPS though