Comments (4)
The timezone can be set by the TZ environment variable, e.g., TZ="America/Los_Angeles"
.
The home address can be set by issuing a command "set home location" to your genie assistant.
The service credentials will be set automatically when each skill is configured.
from genie-server.
Thank you! Where are these settings persisted across container shutdowns or restarts?
from genie-server.
Yes, they should be.
from genie-server.
Setting TZ seems to break the docker image.
My docker-compose.yml
version: '3.3'
services:
stanfordoval:
container_name: genie
environment:
- PORT=3020
- TZ="America/New_York"
#ports:
#- '3020:3020'
network_mode: host
volumes:
- '/home/texnofobix/docker/genie/data:/var/lib/genie-server'
image: docker.io/stanfordoval/almond-server
$ docker-compose up
[+] Running 1/1
⠿ Container genie Recreated 37.4s
Attaching to genie
genie |
genie | > [email protected] start /opt/genie-server
genie | > node dist/main.js
genie |
genie | /opt/genie-server/node_modules/@js-temporal/polyfill/dist/index.js:6264
genie | throw new RangeError("Invalid time zone: ".concat(stringIdent));
genie | ^
genie |
genie | RangeError: Invalid time zone: undefined
genie | at Object.ParseTemporalTimeZoneString (/opt/genie-server/node_modules/@js-temporal/polyfill/dist/index.js:6264:13)
genie | at Object.TemporalTimeZoneFromString (/opt/genie-server/node_modules/@js-temporal/polyfill/dist/index.js:6036:36)
genie | at Object.SystemTimeZone (/opt/genie-server/node_modules/@js-temporal/polyfill/dist/index.js:10529:36)
genie | at Temporal.Now.timeZone (/opt/genie-server/node_modules/@js-temporal/polyfill/dist/index.js:13463:13)
genie | at new ServerPlatform (/opt/genie-server/dist/service/platform/index.js:178:50)
genie | at Object.<anonymous> (/opt/genie-server/dist/service/platform/index.js:339:19)
genie | at Module._compile (internal/modules/cjs/loader.js:999:30)
genie | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
genie | at Module.load (internal/modules/cjs/loader.js:863:32)
genie | at Function.Module._load (internal/modules/cjs/loader.js:708:14)
genie | npm ERR! code ELIFECYCLE
genie | npm ERR! errno 1
genie | npm ERR! [email protected] start: `node dist/main.js`
genie | npm ERR! Exit status 1
genie | npm ERR!
genie | npm ERR! Failed at the [email protected] start script.
genie | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
genie |
genie | npm ERR! A complete log of this run can be found in:
genie | npm ERR! /home/genie-server/.npm/_logs/2022-03-10T13_44_53_446Z-debug.log
genie exited with code 1
$ docker-compose images
Container Repository Tag Image Id Size
genie stanfordoval/almond-server latest a8f11d19ea03 818MB
from genie-server.
Related Issues (20)
- Podman container failed on Ubuntu Mate 21.04 running image almond-server:latest HOT 2
- No suitable images for architectures other than amd64 e.g. for RaspberryPi HOT 3
- Why are you using podman? HOT 1
- Training data HOT 7
- Handle gracefully if PulseAudio goes down or restarts
- Genie podman container crashing on startup HOT 2
- PipeWire support HOT 1
- genie-server/node_modules/genie-toolkit/dist/tool/genie.js not found
- Installation instructions contain errors HOT 1
- Request: Instructions for building a real stand-alone server (without dependency on Microsoft) HOT 1
- Running into npm error message on the Pinephone with podman version HOT 3
- Docker port mapping websocket errors HOT 2
- Install on wsl (Windows Subsystem for Linux)
- cannot access http://127.0.0.1:3000 HOT 2
- Can not get authorization to work HOT 5
- Certificate has expired. HOT 2
- Issue with USB mic with Genie Home Assistant
- Podman run fails with Error: statfs /genie-server: no such file or directory HOT 2
- Thingpedia Schema Request 404
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genie-server.