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

[BUG] changes are not saved #1022

Closed
2 tasks done
celevra opened this issue Apr 5, 2024 · 7 comments
Closed
2 tasks done

[BUG] changes are not saved #1022

celevra opened this issue Apr 5, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@celevra
Copy link

celevra commented Apr 5, 2024

What happened?

after initial creation of an service, no changes to options are possible anymore

How to reproduce?

create a simple service, save and after success, edit it an try to change value, it isn't applied

Configuration file(s) (yaml or .env)

No response

Relevant log output

No response

BunkerWeb version

1.5.6

What integration are you using?

Docker

Linux distribution (if applicable)

No response

Removed private data

  • I have removed all private data from the configuration file and the logs

Code of Conduct

  • I agree to follow this project's Code of Conduct
@celevra celevra added the bug Something isn't working label Apr 5, 2024
@fl0ppy-d1sk
Copy link
Member

Hello @celevra,

Are you using the web UI ?

@celevra
Copy link
Author

celevra commented Apr 5, 2024

Yes i do

@celevra
Copy link
Author

celevra commented Apr 12, 2024

newly created project with this docker compose:

version: "3.5"

services:
  bunkerweb:
    image: bunkerity/bunkerweb:1.5.6
    ports:
      - 127.0.0.1:8080:8080
    volumes:
      - ./errors:/errors
    labels:
      - "bunkerweb.INSTANCE=yes"
    environment:
      - SERVER_NAME=
      - MULTISITE=yes
      - API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24
      - UI_HOST=http://bw-ui:7000 # Change it if needed
      - USE_CROWDSEC=yes
      - CROWDSEC_API=http://xxx
      - CROWDSEC_API_KEY=xxx
      - CROWDSEC_REQUEST_TIMEOUT=3000
      - USE_MODSECURITY=yes
    networks:
      - bw-universe
      - bw-services
    logging:
      driver: syslog
      options:
        syslog-address: "udp://10.20.30.254:514"

  bw-scheduler:
    image: bunkerity/bunkerweb-scheduler:1.5.6
    volumes:
      - ./bw-data:/data
    depends_on:
      - bunkerweb
      - bw-docker
    environment:
      - DATABASE_URI=mariadb+pymysql://bunkerweb:xxx@bw-db:3306/db # Remember to set a stronger password for the database
      - DOCKER_HOST=tcp://bw-docker:2375
      - EXTERNAL_PLUGIN_URLS=https://github.com/bunkerity/bunkerweb-plugins/archive/refs/tags/v1.4.zip
    networks:
      - bw-universe
      - bw-docker

  bw-docker:
    image: tecnativa/docker-socket-proxy:nightly
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      - CONTAINERS=1
      - LOG_LEVEL=warning
    networks:
      - bw-docker

  syslog:
    image: balabit/syslog-ng:4.4.0
    volumes:
      - ./syslog-ng.conf:/etc/syslog-ng/syslog-ng.conf
      - ./logs:/var/log
    networks:
      bw-universe:
        ipv4_address: 10.20.30.254

  bw-ui:
    image: bunkerity/bunkerweb-ui:1.5.6
    depends_on:
      - bw-docker
    environment:
      - DATABASE_URI=mariadb+pymysql://bunkerweb:xxx@bw-db:3306/db # Remember to set a stronger password for the database
      - DOCKER_HOST=tcp://bw-docker:2375
    networks:
      - bw-universe
      - bw-docker

  bw-db:
    image: mariadb:10.10
    environment:
      - MYSQL_RANDOM_ROOT_PASSWORD=yes
      - MYSQL_DATABASE=db
      - MYSQL_USER=bunkerweb
      - MYSQL_PASSWORD=xxx# Remember to set a stronger password for the database
    volumes:
      - ./mysql:/var/lib/mysql
    networks:
      - bw-docker

networks:
  bw-universe:
    name: bw-universe
    ipam:
      driver: default
      config:
        - subnet: 10.20.30.0/24
  bw-services:
    name: bw-services
  bw-docker:
    name: bw-docker

same error, can't change anything after a service is created
like this, bunker-web is unusable at the moment

@TheophileDiot TheophileDiot self-assigned this Apr 16, 2024
@fl0ppy-d1sk
Copy link
Member

Hello @celevra,

Looks like I can't reproduce your issue...

Can you try the testing version to see if it fixes something ? More info here : https://docs.bunkerweb.io/testing/

@TheophileDiot
Copy link
Member

@celevra bump

@celevra
Copy link
Author

celevra commented May 14, 2024

i can't reproduce it anymore with new installations, but i have it with my running installations.
I can give you access to one if you want to

@fl0ppy-d1sk
Copy link
Member

Hello @celevra,

Can you try again with the last 1.5.7 version maybe ? More info here : https://docs.bunkerweb.io/1.5.7/.

Don't hesitate to open a new issue if does the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants