logseq / logseq/db-test

Nightly HTML export fails to load when hosted on a web server

Open
#1,181 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

The HTML export works correctly when generated with the stable 2.0.1 version of Logseq DB, but the same workflow does not work with the Nightly version.

### Reproduce the Bug

1. Export a graph as HTML using the Nightly version of Logseq DB.
2. Upload the exported files to a web hosting service.
3. Open the exported `index.html` through the hosted URL.

### Expected Behavior

The exported HTML should load and display the Logseq graph correctly, as it does with Logseq DB 2.0.1 Stable.

### Screenshots

_No response_

### Files

_No response_

### Browser, Desktop or Mobile Platform Information

windows 11
logseq 2.0.1-alpha+nightly.20260907
Browser: Google Chrome
Hosting service: Cloudflare Pages
Local server: Python http.server

### Additional Context

* Logseq DB 2.0.1 Stable: works correctly when hosted.
* Logseq Nightly: the exported HTML does not work even when hosted.
* This appears to be different from the issue I encountered when opening the HTML locally(https://github.com/logseq/db-test/issues/759), because the Nightly export also fails in an actual web-hosting environment.

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by exporting a graph with the Nightly version, then serve the generated index.html through Python http.server and Cloudflare Pages as described. Compare the Nightly export with the working Logseq DB 2.0.1 Stable export; done means the hosted index.html loads and displays the graph correctly in Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, python
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.