Giter Club home page Giter Club logo

Comments (2)

deepbluev7 avatar deepbluev7 commented on August 28, 2024

Quoting the documentation:

Creates a unique profile, which allows you to log into several accounts at the same time and start multiple instances of nheko. Use default to start with the default profile.

https://github.com/Nheko-Reborn/nheko/blob/master/man/nheko.1.adoc

The crash should already be fixed on master, it happens when you provide no name and it starts a different profile, iirc, because the lock file doesn't match the other stuff.

from nheko.

fauno avatar fauno commented on August 28, 2024

Thanks, I wasn't expecting a man page, just checked nheko -h.

I just tried this and it ran migrations, I can see rooms listed, but it's still saying BAD_ACCOUNT_KEY and makes me login again. This server is dying so I may not be able to login again.

Does this mean I lose access to my logs?

I was expecting nheko -p default to open the account as always, and no idea what it decided it can't unpickle the olm account, is it stored separately from ~/.config/nheko/nheko.conf and ~/.local/share/nheko/nheko?

The nheko.conf file now reads (I have a copy of this so I can recover):

[auth]                                                                                                                                  
access_token=                                                                                                                           
device_id=                                                                                                                              
home_server=                                                                                                                            
user_id=                                                                                                                                

Logs when I ran nheko -p default:

[2024-07-27 12:22:16.556] [ui] [info] Restoring window size 1366x734
[2024-07-27 12:22:16.580] [ui] [info] WebRTC: initialised GStreamer 1.24.0
[2024-07-27 12:22:16.658] [qml] [warning] No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available. (:0, )
[2024-07-27 12:22:16.658] [qml] [warning] Failed to initialize QMediaPlayer "Not available" (:0, )
[2024-07-27 12:22:16.658] [ui] [error] Missing GStreamer elements: webrtcbin qml6glsink pipewiresrc 
[2024-07-27 12:22:16.660] [ui] [info] jdenticon plugin not found.
[2024-07-27 12:22:17.135] [ui] [info] starting nheko 0.12.0
[2024-07-27 12:22:17.165] [ui] [info] User already signed in, showing chat page
[2024-07-27 12:22:17.165] [db] [info] found old state directory, migrating
[2024-07-27 12:22:17.165] [db] [info] completed state migration
[2024-07-27 12:22:17.165] [db] [info] initializing LMDB
[2024-07-27 12:22:17.832] [ui] [info] Switching to chat page
[2024-07-27 12:22:17.965] [ui] [info] Unity service available: false
[2024-07-27 12:22:18.100] [db] [info] database ready
[2024-07-27 12:22:18.100] [db] [info] Running migrations, this may take a while!
[2024-07-27 12:22:21.675] [db] [info] Successfully updated states key database format.
[2024-07-27 12:22:27.195] [db] [info] Successfully updated olm sessions database format.
[2024-07-27 12:22:27.195] [db] [info] Migrations finished.
[2024-07-27 12:22:27.195] [db] [info] restoring state from cache
[2024-07-27 12:22:27.195] [crypto] [critical] failed to restore olm account: unpickle: BAD_ACCOUNT_KEY
[2024-07-27 12:22:27.195] [ui] [info] dropping to the login page: No se ha podido restaurar la cuenta OLM. Por favor inicia sesión de nuevo.
[2024-07-27 12:22:27.296] [db] [info] Storing secret 'pickle_secret' successful
[2024-07-27 12:24:25.905] [db] [info] deleted cache files from disk
[2024-07-27 12:24:39.215] [net] [error] Autodiscovery failed. Unknown error when requesting .well-known. (connection: Couldn't resolve host name)
[2024-07-27 12:24:40.713] [net] [info] Autodiscovery: No .well-known.

from nheko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.