[Overleaf] Open-source online real-time collaborative LaTeX editor

Sorry for the late answer!
What are the logs of oveleaf-hostory-v1.service?
And is the mongod service running?

Mongod service is running, I don’t see anything problematic there:
https://paste.yunohost.org/oqinesimut

And here are overleaf-history-v1 's log:
https://paste.yunohost.org/jopecugemo

I don’t see anything wrong either.
Could you please share me the failed update and the failed restore logs so I may understand more and prevent this again?

Arf, I just did the new update, available since today, and now it seems to work properly.

But please, could you change the screenshoot associated with Overleaf to an actual screenshoot of Overleaf with Yunohost? The review mode is (currently?) not available.

Nice!

Indeed, it’s a pro feature.
PR welcome :upside_down_face:

How can I remove user account as administrator? I created an account for someone using built-in feature to in Overleaf but now I want to delete it.

It’s a pro feature unfortunately.
There is a command line tool for it, but I’m not sure it works.
You can try:
cd /var/www/overleaf/live/services/web
then
node modules/server-ce/scripts/delete-user --email=mail@example.com

ARM64 is gone?

Oh you could install overleaf on ARM64?

Well it’s supposed to work but this package was never successfulky configured it seems. It never worked with former versions but I was hooding an update might solve it if you don’t restrict architecture.
My point was that the update was not available for arm but previous versions were. See beginning of thread

Okay then, could you please try to install this:

sudo yunohost app install https://github.com/YunoHost-Apps/overleaf_ynh/tree/arm64 --debug

I’ve noticed this pattern with Overleaf on my server: Everytime I restart the server (for whatever reason), Overleaf does not work anymore, until a new update of the overleaf package.

I have this error in the journals associated with the document update process :
https://paste.yunohost.org/unokudinum
And this with overleaf real-time:
https://paste.yunohost.org/enukajukij
And this with Web:
https://paste.yunohost.org/lipipitide

But I don’t get the issue, why cannot it connect, and to what ? Mongodb? Or maybe the redis server? I saw it was not installed while it seems to be a requirement for Overleaf.

Thank you for your exhaustive post!
I’ll try to have a look and see if I can reproduce and fix this.

Just to say that I have systematically this error with Overleaf, every time I restart the server, Overleaf crashes and I have the 502 error until I update or reinstall.

I wonder if there is a way to get the latex files back when Overleaf is offline?

So my trick at the moment is to backup overleaf when it crashes, then delete the current installation and reinstall the backup. It works, but… it’s not the best :slight_smile:

I’ve not yet had the time to look at this, but I think you don’t need to delete the installation, instead you could:

  • backup
  • then force upgrade with yunohost app upgrade overleaf --force

Sorry, post deleted as I didn’t see that the mongodb service was off.

Install is failing

https://paste.yunohost.org/raw/uxagunuwow

YunoHost 12.0.9.1 up-to-date
VM (proxmox) 40G/8G

J’ai essayé d’installer mongodb

sudo apt install mongodb-org-server --dry-run
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez la distribution unstable, que certains paquets n'ont pas encore été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
 mongodb-org-server : Dépend: libssl1.1 (>= 1.1.0) mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».