Coder Social home page Coder Social logo

docker-shout-irc's People

Contributors

aptalca avatar chbmb avatar ironicbadger avatar j0nnymoe avatar linuxserver-ci avatar lonix avatar omgimalexis avatar pecigonzalo avatar sparklyballs avatar thelamer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-shout-irc's Issues

guidance for creating users in private mode

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/

linuxserver.io

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`

Thanks, team linuxserver.io

Cannot add/user users

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.