{"id":21074861,"url":"https://github.com/nextlevelshit/zotero-dataserver-docker","last_synced_at":"2026-04-26T17:31:42.768Z","repository":{"id":88475319,"uuid":"472108151","full_name":"nextlevelshit/zotero-dataserver-docker","owner":"nextlevelshit","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-21T01:03:42.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T04:59:02.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextlevelshit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-20T21:33:45.000Z","updated_at":"2022-03-21T01:02:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"b20e14fb-42d3-4565-984a-dc72e35fe69b","html_url":"https://github.com/nextlevelshit/zotero-dataserver-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nextlevelshit/zotero-dataserver-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fzotero-dataserver-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fzotero-dataserver-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fzotero-dataserver-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fzotero-dataserver-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextlevelshit","download_url":"https://codeload.github.com/nextlevelshit/zotero-dataserver-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fzotero-dataserver-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32307010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T17:23:19.671Z","status":"ssl_error","status_checked_at":"2026-04-26T17:23:19.195Z","response_time":129,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T19:18:24.419Z","updated_at":"2026-04-26T17:31:42.762Z","avatar_url":"https://github.com/nextlevelshit.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Fork of https://github.com/gfacciol/zotero_dataserver-docker**\n\n------------------------------\n\n**Look at https://github.com/SamuelHassine/zotero-prime which is more frequently maintained than this repo**\n\n------------------------------\n\n# Docker image for Zotero Data Server\n\nThis image was build following the instructions for installing a Zotero dataserver at (http://git.27o.de/dataserver/about/), which is an updated procedure of [this document](https://github.com/Panzerkampfwagen/dataserver/blob/master/misc/Zotero_Data_Server_Installation_Debian.pdf).\n\n\n## Build the image\n\n    docker build -t zotero .\n\nThe resulting image is configured to run a dataserver on https://localhost/.\n\nTo customize the installation the following files must be edited:\n* SSL certificate: `apache/zotero.{cert,key}`. The current certificate is self-signed for localhost.\n* Apache site config: `apache/sites-zotero.conf`. \n* Dataserver: `dataserver/config.inc.php` to match the site config.\n* MySQL credentials/passwords: `mysql/setup\\_db` and `dataserver/dbconnect.inc.php` accordingly.\n\nThe build procedure also creates a couple of test users using the user administration tools: test:test and test2:test2.\n\n\n## Start the dataserver\n\n    # 1st run. Named container simplifies the access (to the data) across runs\n    docker run  -p 80:80 -p 443:443 --name=FOO -t -i zotero \n    # all the subsequent runs\n    docker start FOO; docker attach FOO\n\nThis will start the dataserver on [https://localhost/](https://localhost/sync/login?version=9\u0026username=test\u0026password=test). Because of the self-signed certificate some browsers may refuse to connect to the server.\n\n\n## Patch the standalone client to use the new dataserver\n\nFollowing the procedure of (http://git.27o.de/dataserver/about/Zotero-Client.md).\nDownload the Zotero client, and change these two lines in `resource/config.js` inside the zotero.jar archive (zip)\n\n    SYNC_URL: 'https://localhost/sync/',\n    API_URL: 'https://localhost/',\n\nIf the server uses a self-signed certificate an exception should be added to the client. A `cert\\_override.txt` file must be added to the user profile generated by zotero client:\n\n    ~/Library/Application\\ Support/Zotero/Profiles/\u003crandom\u003e.default/      MAC\n    ~/.zotero/Profiles/\u003crandom\u003e.default/                                  Linux\n    c:Users/\u003cusername\u003e/AppData/Roaming/Zotero/Zotero/                     Win\n\nThe `cert\\_override.txt` file can be generated with Firefox as explained here (https://groups.google.com/d/msg/zotero-dev/MEwLaptJIzI/PVDAFJiqEgAJ). The override file in this directory corresponds to the self-signed certificate in the apache directory.\n\n\n## User administration\n\n    cd /srv/zotero/dataserver/admin \n    ./add_user 101 testuser  testpassword\n    ./add_user 102 testuser2 testpassword2\n    ./add_group -o testuser -f members -r members -e members testgroup \n    ./add_groupuser testgroup testuser2 member \n\nadd\\_user is a patched version of the script from http://git.27o.de that allows to set the password from the command line.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextlevelshit%2Fzotero-dataserver-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextlevelshit%2Fzotero-dataserver-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextlevelshit%2Fzotero-dataserver-docker/lists"}