ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
72.55k stars 57.62k forks source link

[Bug] Webdav sync not working [SOLVED] #4814

Closed tandav closed 4 weeks ago

tandav commented 4 weeks ago

Bug Description

[WebDav] check failed, 400

page-7c9157709cec68e1.js:1

   MKCOL https://nextchat.example.com/api/webdav/chatgpt-next-web?endpoint=https://webdav.example.com/nextchat net::ERR_ABORTED 400 (Bad Request)

My webdav endpoint is fully functional, I've tested read/write using both python library and macOS Finder "connect to server"

Steps to Reproduce

  1. Go to settings
  2. Edit webdav config - fill webdav endpoint, username and password
  3. click Check Connection button

Expected Behavior

The webdav sync feature is working

Screenshots

No response

Deployment Method

Desktop OS

macOS

Desktop Browser

Google Chrome

Desktop Browser Version

Version 125.0.6422.113 (Official Build) (x86_64)

UPD - SOLVED

I changed endpoint to https://webdav.example.com/ and manually created a folder named chatgpt-next-web in the root of my webdav server. After that I clicked on sync button and file called chatgpt-next-web/backup.json was successfully created