#!/bin/bash Increase open files limit => Zotero stopped working !

Hello

I am using zotero for my thesis.
Tonight it just stopped working. When I try to open it i can see this message :

#!/bin/bash

# Increase open files limit
#
# Mozilla file functions (OS.File.move()/copy(), NetUtil.asyncFetch/asyncCopy()) can leave file
# descriptors open for a few seconds (even with an explicit inputStream.close() in the case of
# the latter), so a source installation that copies ~500 translators and styles (with fds for
# source and target) can exceed the default 1024 limit.
# Current hard-limit on Ubuntu 16.10 is 4096
ulimit -n 4096

CALLDIR="$(dirname "$(readlink -f "$0")")"
"$CALLDIR/zotero-bin" -app "$CALLDIR/application.ini" $*



I have a Debian installation with Zotero 4 (I never managed to make zotero 5 working).
How can i get back my work and just not lose everything ??

Thank you for your help.
I really need it.
(i speak french)
Léa
  • When I try to open it i can see this message :
    What message? That's just the contents of a shell script. If you're seeing that, it means you're opening the shell script (in a text editor?) instead of running it.

    In any case, we can only help with the latest version of Zotero downloaded from zotero.org.
  • Not tested on Debian (I use Ubuntu 18.04), but this may work for Debian too.
  • hello

    Yes i was opening the shell script with a text editor !
    But when i try to run it it is just doing nothing.

    Do you know how i can get back my work not to lose everything ?

    Or do you know what could have changed ? (i have done nothing on my computer, the day before zotero was just perfectly working)

    emilianoeheyns : if i understand well you sent me a link to install zotero again on my computer ? But i don't want to do that because i don't want to lose several months of work !
    But thank you for your help
  • edited November 2, 2018
    To run the script you must make sure it's marked executable (chmod +x) and then you can run it using its full path, a local path ("./zotero") or by adding it to the path. Or by changing the zotero.desktop file to launch it and putting the desktop file in the appropriate place.

    You wouldn't "lose months of work" and I'm disappointed that you would assume I'd be so callous with your data. The packages don't touch your database in any way shape or form -- you can install and uninstall them as many times as you want and your data would be the same. The package only installs the official Zotero binaries in /usr/lib/zotero and an application shortcut so you can launch zotero. It is safe even to have multiple Zotero installations as long as you don't try to run more than one at once -- I do that all the time.

    But you're free to leave them of course. Manual install does the same thing but fully under your control.
  • Ok ! Thank you very much !
    I'm going to try that !!

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.