dashy
dashy copied to clipboard
Multiple pages not working
Environment
Self-Hosted (Docker)
System
Firefox 113.0 , pop os 20.04 , docker 23.06
Version
2.1.1
Describe the problem
Multiple pages not working. giving me error section not found. have added routingMode: hash in appconfig
showing response 200 for pages and only error is showing in console no section "ctf"
below are starting lines from conf.yml
---
pages:
- name: CTF
path: 'ctf.yml'
- name: sysmon
path: 'sysmon.yml'
- name: homelab
path: 'homelab.yml'
pageInfo:
title: Page
navLinks:
- title: Home
path: /
- title: About
path: /about
appConfig:
routingMode: hash
theme: one-dark
fontAwesomeKey: 13014ae648
enableFontAwesome: true
sections:
- name: Productivity
items:
- title: ProtonMail
description: Secure Encrypted Email
icon: favicon
url: https://mail.protonmail.com/
below id starting lines from ct.yml
---
pageInfo:
title: CTF Toolbox
sections:
- name: ctf
icon: far fa-wifi
displayData:
rows: 2
items:
- title: BurpSuite
description: A graphical tool to testing website security
icon: #
url: https://portswigger.net/burp
- title: Commix
description: Automated All-in-One OS Command Injection and Exploitation Tool
icon: #
Tried yarn build-start in the docker not succeeding
Additional info
No response
Please tick the boxes
- [X] You have explained the issue clearly, and included all relevant info
- [X] You are using a supported version of Dashy
- [X] You've checked that this issue hasn't already been raised
- [X] You've checked the docs and troubleshooting guide
- [X] You agree to the code of conduct
Running into the same issue, was working until recently.
She notes this in the doc for pages:
Note that since page paths are required by the router, they are set at build-time, not run-time, and so a rebuild (happens automatically) is required for changes to page paths to take effect (this only applies to changes to the pages array, rebuild isn't required for editing page content).
I also did not have pages work after adding them to the config, and I think the issue is the "(happens automatically)" in the doc. That part doesn't seem to happen. So you can either completely delete/re-install the docker image, or you can run 'yarn build' in the container. ie: docker exec -it dashy yarn build
I also did not have pages work after adding them to the config, and I think the issue is the "(happens automatically)" in the doc. That part doesn't seem to happen. So you can either completely delete/re-install the docker image, or you can run 'yarn build' in the container. ie:
docker exec -it dashy yarn build
Disclaimer: I am not a Linux guru by any means
I ran the build command you mentioned and I am still not able to get this to work with gist (also tried the manual button in settings).
I got it to work with a local yaml file (this is more preferred for my case anyway); but on the new page, it shows the sections from the main page as well as the sections configured on the new page. Is there a way to delete these sections from the new page or hide them somehow?
That's the only drawback I have with Dashy; the customization of the layout of sections/pages :(
Love the project, super functional, and honestly, it's a huge help. I am not talking bad about it at all, and the dev seems super awesome <3
I downloaded the newest docker image and deployed it again, but it still does not work. I can create the pages in the config and they appear as buttons on the top, but none of them link to the right page/load the corresponding config yml. I'd a sandbox yml page with all the experimental stuff and I cant access it anymore.
So, the pages feature in Dashy is essentially broken for all? Tagging @Lissy93 in case she can think of any workarounds.
Updating here. Looks like I got it to work by forcing a Rebuild Application in Configuration options in the UI.
It works only with a rebuild. But why?
The solution docker exec -it dashy yarn build works also the solution from @rajivvishwa described in the picture works.
But is it possible to solve this without permanent rebuilding?
But is it possible to solve this without permanent rebuilding?
Currently, a rebuild is required for changes to take effect. I'm working on a solution to this.
Hi This problems seems to be related to dashy not automatically rebuilding on changes, see #1479 and https://github.com/Lissy93/dashy/issues/1290#issuecomment-1884249018 A new release has just been published, which should fix this issue, so please upgrade to the latest version. If this is not the case just respond back to this ticket and I'll reopen this issue. Thanks and have a nice day.