linuxserver-archive / docker-shout-irc Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Steps to reproduce for me.
Install docker, start it.This works for as long as needed as far as I can see.
Stop or restart docker and it crashes everytime just after pulling updates from apt server.
Grab from log:
http://puu.sh/mSTTl/0121201a07.png
Successful boot:
http://puu.sh/mSTUx/691ff2f092.png
If you switch the config over to private, the shout server won't start because it's looking for user information.
I would have thought this is a fairly common usecase, after all linuxserver stuff is mostly directed at self hosted private servers, and one of the main reasons to use shout is the always logged in history, which you can only get if shout is in private mode.
The shout docs show how to create users, but you really need to dig into how this container is configured in order to figure out the commands. The shout docs assume the module is installed globally.
The commands I ran to get this to work are:
docker exec -it shout node /app/node_modules/shout/index.js add levi
docker exec -t shout cp /root/.shout/users/levi.json /config/users/
OS: Debian Stretch
create command:
docker create \
--name=shout \
-v /srv/config/shout:/config \
-e PGID=999 -e PUID=99 \
-e TZ=Australia/Perth \
-p 9000:9000 \
lsiocommunity/shout-irc
Log output:
If you switch to private mode, this error is written to log repeatedly.
No users found!
Create a new user with 'shout add <name>'.
I guess my suggestion would be to provide some guidance about this in the readme. I imagine that the commands I used above are a cludge. I'm sure someone who understands more about docker / linuxserver can do better.
I know nothing about docker containers / linuxserver packages, but as an alternative would it be possible to simply install the npm shout package globally ? If that were possible, then it would make the commands more intuitive, ie: you could just use shout add levi
instead of the 'node add levi`
Steps to reproduce.
Install docker and wait for first start.
Edit config.js file in the /config folder to change 'public' value to 'false'
Restart docker.
Log will report there are no users.
Connect to Docker bash.
Run 'shout add user'
Select password for user
Restart docker
Log will continue to complain there is no user and will not start.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.