Upgrade to 0.7.5, or my own actions, have Librechat misbehaving #4626
Replies: 1 comment
-
Update: I did some more tests in a local Linux VM, and accessing Librechat on http://localhost:3080. TLDR: there's no indication of any Librechat bugs and I don't think Danny should do anything. What I learned:
So I'm mystified why my server installation is broken. What I'm trying next is to do a fresh Librechat install on my server in another location, but copy the existing volumes holding my data. I'll report back. UPDATE: it's still broken. I mean, makes sense, there's something broken in one of the volumes, creating new containers wasn't gonna change that as it's no different from "docker compose down ; docker compose up". My only hope now is migrating the data (users + history) to completely new volumes. I would appreciate some assistance here. |
Beta Was this translation helpful? Give feedback.
-
What happened?
I've been using this wonderful app for 1 year. About 30 mins ago I updated from 0.7.2 to 0.7.5 to add o1-preview support, and now I'm having an issue: when a reply is received, the UI doesn't update. I must either reload the webpage or switch to a different chat and come back in order to see it.
UPDATE: see my reply below. There's no indication of any Librechat bugs and I don't think Danny should do anything. I'll leave this ticket open temporarily as doc in case it happens to other people, until I reply with my final conclusion.
Since there's no other issues about this, I guess I broke my installation somehow. I'm going to describe what I did and be thorough (including possibly irrelevant information) because it's likely possible an intermediate step broke my installation.
So basically, the reply arrives, but the UI doesn't update to show it. There are no errors in any of the Docker containers. This is my only Linux server so I have nothing else to test with, unless I create a VM (which I can do tomorrow, I need to go to sleep already).
Warnings that might be the cause
(UPDATE from AFTER I wrote this stuff: on a working install, I still get the 3 warnings and Librechat still runs 100% fine, but I don't get the healthcheck error)
I use it from behind nginx, and have nginx reverse proxy the connection. I only use OpenAI.
When I open Librechat at gpt.me.com, the console shows:
When I open an existing chat from the history (gpt.me.com/c/someid), the console shows 3 warnings:
idk if this happened on my 0.7.2. It's possible it did and I never noticed because nothing was broken. Anyway, all 3 warnings have a clickable link to view-source:https://gpt.me.com/c/46c160d3-2e82-4313-b9b5-f8188de1badd46c160d3-2e82-4313-b9b5-f8188de1badd so I opened it, saw some links to /assets/.
About a year ago I created this issue: #889 about my nginx setup. Basically I use basic_auth protection for the whole app, but after talking to Danny in that ticket I had to make an exception and turn off basic_auth on calls to /api/* since you do your own auth by that point. So I figured, what if /c/ and /assets/ need non-auth access too in 0.7.5? So I gave them the same treatment as /api/, restarted nginx, unfortunately this hasn't changed anything, or even stopped the warnings, so idk.
Side issue: how can I migrate?
It's possible messing with the .env (even though I undid it and restarted later), permanently broke something, and it's not worth the time to fix issues you only run into when you take a bad path. If I have a way to migrate the existing accounts and chat history into a fresh install I'm happy to do it, but idk how.
Steps to Reproduce
I doubt this is reproducible.
What browsers are you seeing the problem on?
Firefox
Relevant log output
No response
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions