Comme je disais sur Twitter, il nâest pas possible de mettre Ă jour de cette maniĂšre, car lâobjectif de cette version est de faire migrer tout le monde vers une base propre, Raspbian Stretch, Node 8, Nginx latest, etc⊠ça fait du bien de temps en temps de repartir dâune base propre!
We are using Cloudflare as a CDN, but I cleared the whole cache after deploying so it shouldnât be an issue. Are you sure itâs not client side cache on your side ? Tried Cmd + R ?
pi@gladys:~/gladys $ node init.js
error: A hook (orm) failed to load!
Error (E_UNKNOWN) :: Encountered an unexpected error
: ER_TOO_LONG_KEY: Specified key was too long; max key length is 767 bytes
at Query.Sequence._packetToError (/home/pi/gladys/node_modules/mysql/lib/protocol/sequences/Sequence.js:48:14)
at Query.ErrorPacket (/home/pi/gladys/node_modules/mysql/lib/protocol/sequences/Query.js:83:18)
at Protocol._parsePacket (/home/pi/gladys/node_modules/mysql/lib/protocol/Protocol.js:280:23)
at Parser.write (/home/pi/gladys/node_modules/mysql/lib/protocol/Parser.js:73:12)
at Protocol.write (/home/pi/gladys/node_modules/mysql/lib/protocol/Protocol.js:39:16)
at Socket. (/home/pi/gladys/node_modules/mysql/lib/Connection.js:96:28)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:594:20)
--------------------
at Protocol._enqueue (/home/pi/gladys/node_modules/mysql/lib/protocol/Protocol.js:141:48)
at PoolConnection.query (/home/pi/gladys/node_modules/mysql/lib/Connection.js:201:25)
at DEFINE (/home/pi/gladys/node_modules/sails-mysql/lib/adapter.js:235:20)
at afterwards (/home/pi/gladys/node_modules/sails-mysql/lib/connections/spawn.js:84:5)
at /home/pi/gladys/node_modules/sails-mysql/lib/connections/spawn.js:40:7
at Ping.onOperationComplete [as _callback] (/home/pi/gladys/node_modules/mysql/lib/Pool.js:99:5)
at Ping.Sequence.end (/home/pi/gladys/node_modules/mysql/lib/protocol/sequences/Sequence.js:96:24)
at Ping.Sequence.OkPacket (/home/pi/gladys/node_modules/mysql/lib/protocol/sequences/Sequence.js:105:8)
at Protocol._parsePacket (/home/pi/gladys/node_modules/mysql/lib/protocol/Protocol.js:280:23)
at Parser.write (/home/pi/gladys/node_modules/mysql/lib/protocol/Parser.js:73:12)
at Protocol.write (/home/pi/gladys/node_modules/mysql/lib/protocol/Protocol.js:39:16)
at Socket. (/home/pi/gladys/node_modules/mysql/lib/Connection.js:96:28)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:594:20)
Details: Error: ER_TOO_LONG_KEY: Specified key was too long; max key length is 767 bytes
1|gladys-b | noble warning: adapter state unauthorized, please run as root or with sudo
1|gladys-b | or see README for information on running without root/sudo:
1|gladys-b | GitHub - noble/noble: A Node.js BLE (Bluetooth Low Energy) central module
1|gladys-b | Just received 9 devices from Gladys. Saving them locally in RAM.
Gladys ne scan plus mes appareil et ne sait plus si je suis chez moi.
Quelquâun peut il mâaider ?
Oups : jâavais oublier dâexecuter cette commande :
sudo setcap cap_net_raw+eip $(eval readlink -f which node)