Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi User enabled by default #152

Open
Merith-TK opened this issue Feb 22, 2022 · 4 comments
Open

Multi User enabled by default #152

Merith-TK opened this issue Feb 22, 2022 · 4 comments

Comments

@Merith-TK
Copy link

Step 1: Please describe your environment

  • ZeroNet version: docker: canwsin/zeronet as of 2-21-2022
  • Operating system: Windows 11 Host, Docker Container using WSL2 (effectively linux) backend
  • Web browser: Brave
  • Tor status: always
  • Opened port: Unsure
  • Special configuration: Required Special Config to work around bug

Step 2: Describe the problem:

By default, the container run with multiuser plugin enabled,

this is my config for docker-compose

  zeronet:
    image: canewsin/zeronet:latest
    container_name: zeronet
    environment:
      - ENABLE_TOR=true
    restart: always
    ## For Some reason, modifying the command that is normally ran, causes
    ## issues with the container, so default to sh file that does the same
    ## thing as the command
    command: '/bin/sh /root/data/start.sh'
    ports:
      - 43110:43110
    volumes:
      - ./zeronet/:/root/data

this is start.sh

#!/bin/sh
if [ $ENABLE_TOR != "" ]; then
	tor&
fi

## This line is only required because of this bug, I have to remove the multiuser plugin directly to prevent it from loading
rm -rf /root/plugins/*Multiuser*

## zeronet.link because I have DNS and custom SSL Cert fekkery being performed on my system
python3 zeronet.py --ui_ip 0.0.0.0 --ui_host "zeronet.link" --fileserver_port 26117

I use a docker container with zeronet along with caddy, pi-hole dns, and an self signed SSL certificate to access zeronet from zeronet.link instead of the usual 127.0.0.1, just looks nicer also allows me to actually share the links

Steps to reproduce:

Use docker container

Observed Results:

Multiuser is enabled by default

Expected Results:

Multiuser to not be disabled

@canewsin
Copy link
Collaborator

canewsin commented Mar 7, 2022

@Merith-TK

Expected Results:
Multiuser to not be disabled

You're expecting multiuser plugin to be disabled by default, right ?

@Merith-TK
Copy link
Author

Merith-TK commented Mar 8, 2022 via email

@marek22k
Copy link

I had the same problem. I then disabled the plugin using docker exec -it zeronet sh.

@Merith-TK
Copy link
Author

i used docker compose so i just deleted the plugin files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants