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] Change configuration pannel won't show up #1652

Closed
5 tasks done
volrod64 opened this issue Jul 29, 2024 · 14 comments
Closed
5 tasks done

[BUG] Change configuration pannel won't show up #1652

volrod64 opened this issue Jul 29, 2024 · 14 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@volrod64
Copy link

Environment

Self-Hosted (Docker)

System

Docker-compose / Debian 12 / Firefox 128.0.3

Version

3.1.1

Describe the problem

On your demo https://demo.dashy.to/#
When clicking into " enter edit mode " then " change configuration " you have a pannel coming up
image
Well, I don't.
image
It's in the bottom of the page and hardstuck. If i click to drag it to the top, i reach a border limit.
I don't have any custom CSS, just use Glass 2 theme.

Additional info

Docker compose look like
dashy:
image: lissy93/dashy
container_name: Dashy
volumes:
- /docker/appdata/dashy/config:/app/public
ports:
- 4000:8080
environment:
- NODE_ENV=production
- UID=1000
- GID=1000
restart: unless-stopped

Please tick the boxes

@volrod64 volrod64 added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Jul 29, 2024
@volrod64
Copy link
Author

Okay, the bug is coming with Glass 2 theme. I changed to default one and everything look fine ..
But I love glass 2 lol

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jul 29, 2024
@hockwill
Copy link
Contributor

When swapping the Dashy theme Colorful to Glass2 it is still functioning as expected. I was unable to duplicate this bug with the information provided. Using dashy:latest behind nginx reverse proxy to Firefox 128.0.
The Dev demo link seems to have the glass2 theme. Does the same thing happen there for you? https://dev.dashy.to/

I see in your compose you have the outside container directory for holding your config mounted to /app/public for Dashy 3 it is supposed to be /app/user-data per #1529 .

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jul 30, 2024
@volrod64
Copy link
Author

When swapping the Dashy theme Colorful to Glass2 it is still functioning as expected. I was unable to duplicate this bug with the information provided. Using dashy:latest behind nginx reverse proxy to Firefox 128.0. The Dev demo link seems to have the glass2 theme. Does the same thing happen there for you? https://dev.dashy.to/

I see in your compose you have the outside container directory for holding your config mounted to /app/public for Dashy 3 it is supposed to be /app/user-data per #1529 .

Same bug on the dev.dashy.to .. Sound like a " me " problem.

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jul 30, 2024
@CrazyWolf13
Copy link
Collaborator

Try turning off any extensions and opening the page in a private window/ different browser. This really sounds like an issue on your end.

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jul 31, 2024
@volrod64
Copy link
Author

volrod64 commented Jul 31, 2024

When swapping the Dashy theme Colorful to Glass2 it is still functioning as expected. I was unable to duplicate this bug with the information provided. Using dashy:latest behind nginx reverse proxy to Firefox 128.0. The Dev demo link seems to have the glass2 theme. Does the same thing happen there for you? https://dev.dashy.to/

I see in your compose you have the outside container directory for holding your config mounted to /app/public for Dashy 3 it is supposed to be /app/user-data per #1529 .

Hi,
I did the change to my docker compose, reload it ... lost everything.
Thanksfully, I had a backup file
Here my actual docker compose

  dashy:
    image: lissy93/dashy:latest
    container_name: Dashy
    volumes:
      - /docker/appdata/dashy/config:/app/user-data
    ports:
      - "4000:8080"
    environment:
      - NODE_ENV=production
      - UID=1000
      - GID=1000
    restart: unless-stopped

image

I do have a conf.yml in /docker/appdata/dashy/config

/docker/appdata/dashy/config# ls -lhrt
total 8,0K
-rw-r--r-- 1 seb seb 7,4K 31 juil. 16:04 conf.yml

With a bunch of links and all my stuff in it.

May I ask for help ? Thanks :)

edit : docker logs
DONE Build complete. The dist directory is ready to be deployed.
INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html


Error: ENOENT: no such file or directory, stat '/app/user-data/conf.yml'
Error: ENOENT: no such file or directory, stat '/app/user-data/conf.yml'
Error: ENOENT: no such file or directory, stat '/app/user-data/conf.yml'
Error: ENOENT: no such file or directory, stat '/app/user-data/conf.yml'

So I did
docker exec -it Dashy /bin/ash

And I can cat /app/user-data/conf.yml with all my config stuff ..

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jul 31, 2024
@CrazyWolf13
Copy link
Collaborator

Can you make sure the permissions are correct and UID and GUI 1000 has access, otherwise recreate the container without that.

As Dashy changed from running as root to non root.

@volrod64
Copy link
Author

  image: lissy93/dashy:latest
  container_name: Dashy
  volumes:
    - /docker/appdata/dashy/config:/app/user-data
  ports:
    - "4000:8080"
  environment:
    - NODE_ENV=production
  restart: unless-stopped
  
  
  root@netflix:/apps# ls -lhrt /docker/appdata/dashy/config
total 8,0K
-rw-r--r-- 1 seb seb 7,4K 31 juil. 16:04 conf.yml

conf got all my stuff.
Still the same error after doing docker-compose up -d
(I also tried to stop the container only, then start it again)

Thanks for taking time to help me, appreciate it !

@volrod64
Copy link
Author

/app/user-data # yarn validate-config
yarn run v1.22.19
$ node services/config-validator

Checking config file against schema...

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Warning: 3 issues found in config file
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1.  must NOT have additional properties (geInfo)
2. /appConfig/auth/oidc must have required property 'clientId'
3. /appConfig/auth/oidc must have required property 'endpoint'

Done in 0.29s

@CrazyWolf13
Copy link
Collaborator

CrazyWolf13 commented Jul 31, 2024

Hmm seems like you have some errors in your config, you can check it online on websites like yaml validator etc. If you mind you can also share it and we can take a look at it.

@volrod64
Copy link
Author

I sent my whole conf.yml into https://www.yamllint.com/
image

@volrod64
Copy link
Author

@CrazyWolf13
Copy link
Collaborator

CrazyWolf13 commented Jul 31, 2024

That geInfo at the top seems a bit strange to me, is this a multi page?

Otherwise can you try removing it and validate again?

Otherwise it looks good to me.

@volrod64
Copy link
Author

I don't know what a multi page is, it was just the export of my working dashy_conf.yml that I did from the dashy menu.

I deleted the getInfo, didn't work either.

@volrod64
Copy link
Author

Holy that's stupid.
Everytime i restarted the container, I was doing CTRL + F5 on my firefox page.
But just to try, I did it in private mode. I had a whole " loading dashy " then .. working.
It's working on private mode, i just had to restart my browser and not just refresh the tab ....

Sorry for that !

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
Status: Done
Development

No branches or pull requests

5 participants