Skip to content

[BUG] Local extra pages do not work #1960

@lucyrose39

Description

@lucyrose39

Environment

Self-Hosted (Docker)

System

Docker version 29.1.3, build f52814d

Version

3.1.1

Describe the problem

Attempting to add extra pages in any form locally yields an error that the config file could not be found, I have confirmed the config file is where it should be, and verified permissions are as open as possible ensure this cannot be the issue. Specifying just the filename and the direct path both do not work

Error that is reported below - dashys docker logs yield nothing

Image

how files are passed into docker, have tried a folder and renaming files to .yml on host system, which also did not work

      - /root/dashy-asl7strawbycom/conf.yaml:/app/user-data/conf.yml
      - /root/dashy-asl7strawbycom/akl.yaml:/app/user-data/akl.yml
      - /root/dashy-asl7strawbycom/syd.yaml:/app/user-data/syd.yml
      - /root/dashy-asl7strawbycom/mel.yaml:/app/user-data/mel.yml
      - /root/dashy-asl7strawbycom/sfo.yaml:/app/user-data/sfo.yml
      - /root/dashy-asl7strawbycom/mci.yaml:/app/user-data/mci.yml
      - /root/dashy-asl7strawbycom/tor.yaml:/app/user-data/tor.yml```

Relevant config snip from config file, have tried with and without '' around the file names, and have tried giving it the full path to the file inside the docker container, neither work and result in the same issue.

pages:

  • name: Melbourne
    path: 'mel.yml'
    displayData:
    hideForGuests: false
  • name: Auckland
    path: 'akl.yml'
    displayData:
    hideForGuests: false
  • name: Sydney
    path: 'syd.yml'
    displayData:
    hideForGuests: false
  • name: San Francisco
    path: 'sfo.yml'
    displayData:
    hideForGuests: false
  • name: Kansas City
    path: 'mci.yml'
    displayData:
    hideForGuests: false
  • name: Toronto
    path: 'tor.yml'
    displayData:
    hideForGuests: false

### 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](https://github.com/Lissy93/dashy/blob/master/.github/SECURITY.md#supported-versions) version of Dashy
- [x] You've checked that this [issue hasn't already been raised](https://github.com/Lissy93/dashy/issues?q=is%3Aissue)
- [x] You've checked the [docs](https://github.com/Lissy93/dashy/tree/master/docs#readme) and [troubleshooting](https://github.com/Lissy93/dashy/blob/master/docs/troubleshooting.md#troubleshooting) guide ![important](https://img.shields.io/badge/Important!-F6094E)
- [x] You agree to the [code of conduct](https://github.com/Lissy93/dashy/blob/master/.github/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct)

Metadata

Metadata

Assignees

Labels

🐛 Bug[ISSUE] Ticket describing something that isn't working

Projects

Status

Awaiting Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions