Standalone won't start in arch linux

Hi all!

I just tried to install zotero in arch linux, which went ok, but when I start it, I get two error messages ("error initializing the zotero database" then "database upgrade error") then the programme dies.

Any ideas what might be causing this?

Thanks!
  • same here...
    and over a year later
  • Sorry for the vague post adamsmith.

    I am running archlinux and installed the zotero standalone as well as the zotero plugin for chrome.

    I have succesfully authorized the chrome-extension with the zotero server, and can clip pages to the library.

    However the plugin in OpenOffice complains that neither the *Firefox*
    plugin nor the Standalone are running or available.

    when trying to run the zotero standalone from the terminal I get this:

    $ zotero

    (process:24854): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

    And then a dialog box with:

    Database upgrade error

    [Exception... "Component returned failure code: 0x80520010 (NS_ERROR_FILE_NO_DEVICE_SPACE) [mozIStorageConnection.executeSimpleSQL]" nsresult: "0x80520010 (NS_ERROR_FILE_NO_DEVICE_SPACE)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype.query :: line 149" data: no] [QUERY: INSERT INTO itemTypesCombined SELECT itemTypeID, typeName, display, 0 AS custom FROM itemTypes UNION SELECT customItemTypeID + 10000 AS itemTypeID, typeName, display, 1 AS custom FROM customItemTypes] [ERROR: database or disk is full]


    Disk is not full, and trying to run zotero -jsconsole as your link suggested results in:

    zotero: Cannot execute -jsconsole.

    I am running it from /usr/bin


    Thank you for your help.
  • Maybe Dan has a better idea, but NO_DEVICE_SPACE does mean that your disk returns a message that its full. I'm not terribly familiar with archlinux, but on Ubuntu type system running Zotero from /usr/bin would typically not work as you need su privileges to write to that folder and you wouldn't want to ever run Zotero as su.
    On Ubuntu a typical install location would be /home/username/.local/share but anything that doesn't require sudo to access it will do.
  • edited August 29, 2013
    Write permissions on the program directory are only an issue if you're trying to have Zotero update itself. Otherwise Zotero just needs to be able to write to the profile directory (~/.zotero/Profiles/<randomstring>) and the Zotero data directory (~/.zotero/Profiles/<randomstring>/zotero by default). It's true that, if you're using the built-in update mechanism as opposed to a package, the program directory probably shouldn't be in /usr/bin (and running it with sudo temporarily will cause other problems and is blocked in the latest version), but permissions on the program directory shouldn't have anything to do with database access like this.

    But in any case, yes, if the device is reporting that it's full and it's not, that's probably some sort of incompatibility between XULRunner and Arch Linux that we can't do anything about.
  • I have the following in my ~ dir:

    .cache/zotero/zotero/rhiocjhe.default/

    drwx------ 4 jarshvor users 4096 ago 30 00:13 rhiocjhe.default

    and

    .zotero/zotero/
    -rw-r--r-- 1 jarshvor users 94 ago 29 20:24 profiles.ini
    drwx------ 3 jarshvor users 4096 ago 30 00:27 rhiocjhe.default


    So I am guessing my permissions are correct.

    What I meant to say before is that shell script in charge of starting zotero is installed under /usr/bin
    lrwxrwxrwx 1 root root 29 ago 29 20:10 /usr/bin/zotero -> /usr/lib/zotero/run-zotero.sh

    so I am not sure how I am to succesfully run 'zotero -jsconsole'.



    others are succesfully running zotero on arch-linux as seen here: https://aur.archlinux.org/packages/zotero/?comments=all

    I have not received reply for them though as of yet.
  • I have 2.2 GB of free space in /home partition btw.
  • Don't worry about -jsconsole. The error you're getting is the one it's showing you and that you pasted above. But that's an error from mozStorage that we have no control over.
  • You should probably add the NO_DEVICE_SPACE error to your report over at archlinux, as that's the main issue.
  • Sorry...
    The same error occurs in my Ubuntu 12.10

    [Exception... "Component returned failure code: 0x80520010 (NS_ERROR_FILE_NO_DEVICE_SPACE) [mozIStorageConnection.executeSimpleSQL]" nsresult: "0x80520010 (NS_ERROR_FILE_NO_DEVICE_SPACE)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype.query :: line 149" data: no] [QUERY: INSERT INTO itemTypesCombined SELECT itemTypeID, typeName, display, 0 AS custom FROM itemTypes UNION SELECT customItemTypeID + 10000 AS itemTypeID, typeName, display, 1 AS custom FROM customItemTypes] [ERROR: database or disk is full]

    starting zotero in sudo mode doesn't seem to be a solution,
    and installing through tarball in ~/local doesn't solve my problem.
Sign In or Register to comment.