Share your altero setup #5
Replies: 1 comment 6 replies
NixOS & Podman setupThis is a very cool app; I don't want to send my notes etc to some unknown zotero.org server all the time but I still want to sync my zotero between devices. And afaik altero is the only neat way of doing this atm (?) if you want data + attachments (obvs can use webdav for attachments only, but then it still forces you to sign in to zotero, ugh). Below is the steps I followed to set this up on a nix homelab. I tried to build it from source a few times, but I couldn't get uv / python deps to work nicely, so I just decided to use podman. I haven't tested it on multiple machines yet, this is just how I got altero actually running on my server and read/writeable from my desktop. The actual setupThe setup is probably awful and not very canonical, I don't really understand docker / podman or postgres, but at least it runs. altero.nix (place in homelab config)(I had something on port 8000 already, so I moved it to 8090) This will fail as the directories don't exist, so either add the directories to systemd.tmpfile.rules or just create them, here's my permissions (yes my storage perms are awful, but i just wanted something running and i couldnt work out what users actually need access when running from podman / altero) Next up is to create a user, the website docs don't mention passwords but it seems like the app might require one, idk, anyway I ran Now go Settings -> Advanced -> Config Editor (right at the bottom) in your Zotero app, and add in extensions.zotero.api.url = http://[your-server-ip]:8090/ Now, idk how to actually remove the username cache from ~/Zotero (or wherever your library is), so I just created a new folder i.e. (otherwise altero would open, but zotero would request a specific user, presumably my zotero account username, which then led to an error, see below) Then I reopened it, its obviously all empty, clicked sync and altero opened. It prompted me for the pw for default, which I input. Then it all just worked :) (At least for now) A very important note is that I also have daily backups of ~/Zotero, so I'm okay with the corruption etc risk from altero being new, syncing is just a nice bonus for me anyway. So I will probably turn automatic syncing off and only sync before / after using my laptop for bit, or travelling, etc. Some Issues & FeedbackI've tried for hours to get this running on nix, its very very difficult for me (even with podman or docker). Lots of steps are not explained in a beginner friendly way. There are a few times where the docs ref magic variables (like port 8000) implicitly, where it might be more helpful to use a variable that links to a definition, or at least state the purpose of what its doing. (Part of this is just me being new to podman and not understand ports within and outside of containers) The main issue I found with the docs is the most important things to actually get altero set up are scattered all over the place. I think it would really benefit from a single page that concisely summarises (written by a human who has done the process themself) how to setup altero on a server, setup a local app, connect to it, and use it. Altero is actually quite simple and doesnt have many things to setup (my nix file is like 80 lines long), but the docs felt like a very large website that was confusing to parse. Like it just doesnt feel that the flow of the docs matches the flow of the setup process. Maybe a youtube tutorial would be good, including how to setup the podman/docker containers, and the users. Like from nothing to zotero setup fully with altero in one video. e.g. do I create the user and pw via the cli, or on the website? Its not obvious from the docs (I assume either is allowed, but these things should probably be stated somewhere) Also I got an error "This request is for the account "user ...", not for yours" which was a bit cryptic: I think this should maybe be changed to "This request to connect Zotero to altero is for a user not found in the altero database. Have you cleared references to your old Zotero account?" (okay maybe not so verbose, but something to that effect). Maybe all zotero account ids are this long, in which case you could just check for that and alert the user that their zotero app has an old username in its cache. |
Uh oh!
There was an error while loading. Please reload this page.
Running altero somewhere interesting? Please show us how you deployed it.
This category is for configurations and integrations that might help other users, including:
A useful post might include:
Please remove passwords, API keys, private hostnames, and other secrets before posting configuration.
The aim is to build a collection of real-world deployment examples so new users do not have to solve the same infrastructure problems independently.
Even a small home-server setup is worth sharing.
All reactions