Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Logout after writing a prompt#3498

Mte90 started this conversation inGeneral
Nov 29, 2024· 10 comments· 7 replies
Discussion options

Describe the bug
I have tabby at autostart of my workstation, it remember by yesterday login but if I wrote a prompt in the chat panel the AI starts replying to me but I am getting logged out.
When I login the chat I started is missing and I have to do it from start the prompt.
Sometimes I get also an alert during the login about the database locked so I have to close the tabby process and restart it.

Information about your version
0.21-rc4

You must be logged in to vote

Replies: 10 comments 7 replies

Comment options

Hi - since Tabby utilize your personal auth token for chat panel / server communication, could you verify if the auth token changed during your restart? If not, can you share the output panel logs when you getting logout?

You must be logged in to vote
0 replies
Comment options

So I checked (it is happened right now), from the avatar menu the token before writing in the chat panel and after the login it is the same.

You must be logged in to vote
0 replies
Comment options

image

This is what I get after login, use it a bit and I get a logout again.

You must be logged in to vote
0 replies
Comment options

Can you share your auto-start setup for Tabby?

You must be logged in to vote
0 replies
Comment options

I have this script on auto start in KDE on Linux:/[path]/tabby_x86_64-manylinux2014-cuda122/tabby serve --model Qwen2.5-Coder-7B --chat-model Mistral-7B --device cuda --port 5000 &

You must be logged in to vote
0 replies
Comment options

My best guess is that your setup initiates multiple Tabby processes, which in turn causes the SQLite database to become locked. I recommend configuring a supervisor to prevent such situations.

You must be logged in to vote
0 replies
Comment options

I can confirm that there is only one tabby process as I have just one in the process manager when I have to kill to restart it.

You must be logged in to vote
0 replies
Comment options

Depending on your process termination setup, you might not be waiting for the process to exit gracefully, which could result in the SQLite database file being locked.

checkhttps://stackoverflow.com/questions/151026/how-do-i-unlock-an-sqlite-database for a potential workaround

You must be logged in to vote
0 replies
Comment options

What is the path for the database? So I can check when happens again.

You must be logged in to vote
3 replies
@Mte90
Comment options

it is very annoying as I get various times the logout also after that tabby started replying.

@wsxiaoys
Comment options

the default path for db is~/.tabby/ee/db.sqlite

@Mte90
Comment options

So I got a logout after asking in the chat panel, and did the login and again the db is locked.
I waited a while and I was able to login (I forgot to login again).

I think that this logout is something browser side that fails not server side. It shouldn't redirect to to the login if I was able to write on the chat panel and get an answer.

Comment options

I see adb.sqlite-journal file generated but appears/disappear.
I think because it is still processing the chat reply and saving it in the meantime that I am trying again.

You must be logged in to vote
4 replies
@Mte90
Comment options

it is very annoying this automatic logout, I am now reading the sqlite database to get the output.

@wsxiaoys
Comment options

To assist with debugging, please provide your configuration (as detail as possible) to help us reproduce the behavior. At the moment, we are unable to reproduce it.

@Mte90
Comment options

I already shared the command I have in autorun on my machine, what else I can share and how?

@Mte90
Comment options

just a ping, because this is a very annoying problem.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
2 participants
@Mte90@wsxiaoys
Converted from issue

This discussion was converted from issue #3492 on December 02, 2024 11:33.


[8]ページ先頭

©2009-2025 Movatter.jp