Error starting Element : too many symbolic links encountered, open '/home/amnesia/.config/Element/electron-config.json'
Hey, I've had issues with my session lost after a reboot. So I started Element, connected to my account, closed it, started the main script of this repo, and used the "save" function. Then, If I want to start Element again (I do it in terminal to get error output) :
$ /live/persistence/TailsData_unlocked/dotfiles/Applications/element-scripts/element-desktop-startup.sh
Seshat unexpected error: Error: libsqlcipher.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131)
at Object.<anonymous> (node:internal/modules/cjs/loader:1356:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2358)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:121:18)
at Object.<anonymous> (/live/persistence/TailsData_unlocked/dotfiles/Applications/element-desktop/opt/Element/resources/app.asar/node_modules/matrix-seshat/index.js:16:22)
at Module._compile (node:internal/modules/cjs/loader:1271:14) {
code: 'ERR_DLOPEN_FAILED'
}
/home/amnesia/.config/Element exists: yes
/home/amnesia/.config/Riot exists: no
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ELOOP: too many symbolic links encountered, open '/home/amnesia/.config/Element/electron-config.json'
at Object.openSync (node:fs:603:3)
at Object.func [as openSync] (node:electron/js2c/asar_bundle:2:2131)
at Object.readFileSync (node:fs:471:35)
at Object.readFileSync (node:electron/js2c/asar_bundle:2:9462)
at get store [as store] (/live/persistence/TailsData_unlocked/dotfiles/Applications/element-desktop/opt/Element/resources/app.asar/node_modules/conf/dist/source/index.js:276:29)
at new Conf (/live/persistence/TailsData_unlocked/dotfiles/Applications/element-desktop/opt/Element/resources/app.asar/node_modules/conf/dist/source/index.js:131:32)
at new ElectronStore (/live/persistence/TailsData_unlocked/dotfiles/Applications/element-desktop/opt/Element/resources/app.asar/node_modules/electron-store/index.js:69:3)
at Object.<anonymous> (/live/persistence/TailsData_unlocked/dotfiles/Applications/element-desktop/opt/Element/resources/app.asar/lib/electron-main.js:282:16)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
And
# ls -al /home/amnesia/.config/Element/electron-config.json
lrwxrwxrwx 1 amnesia amnesia 98 14 déc. 17:43 /home/amnesia/.config/Element/electron-config.json -> /run/nosymfollow/live/persistence/TailsData_unlocked/dotfiles/.config/Element/electron-config.json
# ls -al /run/nosymfollow/live/persistence/TailsData_unlocked/dotfiles/.config/Element/electron-config.json
lrwxrwxrwx 1 amnesia amnesia 98 14 déc. 18:16 /run/nosymfollow/live/persistence/TailsData_unlocked/dotfiles/.config/Element/electron-config.json -> /run/nosymfollow/live/persistence/TailsData_unlocked/dotfiles/.config/Element/electron-config.json
It seems symlinked to itself... It is also the case for other dirs/files