Chat imports missing tags and creation time #3346

Closed
opened 2025-11-11 15:29:45 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @mahenning on GitHub (Jan 22, 2025).

Bug Report

Installation Method

Installed with docker

Environment

  • Open WebUI Version: 0.5.4

  • Ollama (if applicable): -

  • Operating System: Ubuntu 22.04

  • Browser (if applicable): Firefox, Chrome, Edge (but it shouldn't matter)

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

When exporting and then importing a chat, everything (tags and date) should be correctly re-imported.

Actual Behavior:

When exporting and then importing a chat or all chat, the chat tags are missing in the new chats. They are also not in the meta part of the .json file of the new chat whe exporting it again. Also, as mentioned in https://github.com/open-webui/open-webui/discussions/5682, the chat is logged as "today", which is really not optimal for importing 20-30 chats. Not only the time of the last chat usage is lost, but the chats are also in the wrong order now (see screenshot below).

Description

Bug Summary:
The chat tags in meta and created_at and updated_at are not imported correctly into the new chat. The information is in the exported .json file.

Reproduction Details

Steps to Reproduce:

  1. Create 1-3 chats
  2. Export them
  3. Import them as another user
  4. Find out the order of chats could be wrong and tags are missing.

Logs and Screenshots

Screenshots/Screen Recordings (if applicable):

Old chat order vs new chat order after export all chats -> import all chats
Image

Additional Information

If additional information is needed, please say so and I try to provide it. Please do not just turn this into a discussion without addressing it. Thanks.

Originally created by @mahenning on GitHub (Jan 22, 2025). # Bug Report ## Installation Method Installed with docker ## Environment - **Open WebUI Version:** 0.5.4 - **Ollama (if applicable):** - - **Operating System:** Ubuntu 22.04 - **Browser (if applicable):** Firefox, Chrome, Edge (but it shouldn't matter) **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: When exporting and then importing a chat, everything (tags and date) should be correctly re-imported. ## Actual Behavior: When exporting and then importing a chat or all chat, the chat tags are missing in the new chats. They are also not in the `meta` part of the .json file of the new chat whe exporting it again. Also, as mentioned in https://github.com/open-webui/open-webui/discussions/5682, the chat is logged as "today", which is really not optimal for importing 20-30 chats. Not only the time of the last chat usage is lost, but the chats are also in the wrong order now (see screenshot below). ## Description **Bug Summary:** The chat tags in `meta `and `created_at` and `updated_at` are not imported correctly into the new chat. The information is in the exported .json file. ## Reproduction Details **Steps to Reproduce:** 1. Create 1-3 chats 2. Export them 3. Import them as another user 4. Find out the order of chats could be wrong and tags are missing. ## Logs and Screenshots **Screenshots/Screen Recordings (if applicable):** Old chat order vs new chat order after export all chats -> import all chats ![Image](https://github.com/user-attachments/assets/81575709-6d5f-4def-9e31-dfeba9af3508) ## Additional Information If additional information is needed, please say so and I try to provide it. Please do not just turn this into a discussion without addressing it. Thanks.
Author
Owner

@tjbck commented on GitHub (Jan 22, 2025):

Intended behaviour here, but PR welcome!

@tjbck commented on GitHub (Jan 22, 2025): Intended behaviour here, but PR welcome!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3346