glanceapp / glanceapp/glance

Config Error: "page 1 has no columns" on fresh install

Open
#816 1 comment 0 reactions 0 assignees View on GitHub
bug report not a bug
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

### Description

Hello, I am trying to run Glance locally by building from source, but I am stuck on a configuration error.

The Error I am Seeing:
`Config has errors: page 1 has no columns`

This happens even when using the exact configuration files from the `glance-next` repository.

```
My `glance.yml` file:**
```yaml
port: 8080
pages:
- name: Home
path: home.yml
```
My home.yml file:

```
title: Home
refresh: 30
theme: Dark
columns:
- width: sm
widgets:
- type: search
engine: duckduckgo
- width: md
widgets:
- type: text
title: Welcome
subtitle: To your new dashboard
content: |
### Getting Started
This is your new dashboard.
```

Things I have already tried:
Cloning the repository fresh.
Using wget and curl to download config files (this failed with 404/network errors).
Manually creating the files by copying and pasting the content.
Using cat << EOF > home.yml to create the file from the command line
Using the nano text editor to create the file.
No matter how the file is created, I get the same "no columns" error. I am running on Linux(Fedora).

Could you help me regarding this issue
Thank you.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error with glance.yml pointing to home.yml and the supplied columns configuration on Fedora. Start by tracing the configuration loading and validation entry point, then confirm that a valid page configuration is accepted without the “no columns” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, yaml
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.