---
creation date: 2024-08-27
modification date: Tuesday 27th August 2024 10:00:15
tags:
---
# Preamble
### Notable Links

## What are we doing?
Setting up a zotero web server for the lab.
## Why are we doing it?
Dan is paying for .pdf storage he just doesn't need to.

# Let it rip.
IP: 10.221.16.142
PW: Super formal methods.
Must be connected to global protect.
ssh-copy-id user@server_ip to add ssh keys

## Installing NextCloud as the WebDAV portion
https://github.com/nextcloud/all-in-one#how-to-use-this 
Following this AIO (all in one) tutorial.
Something borked. I don't think I need all of this though. I'm going to try and use Caddy instead.

## Caddy As a WebDAV server
So I'm following [Caddy's website](caddyserver.com/docs/json/apps/http/servers/routes/handle/webdav/) . I needed to install GO. Which was annoying but whatever it's installed now. 

I f(x) did it. It's running on local host, so you can connect from http using the ip address on port 80. 

**I should figure out how to set up user authentication**
## Zotero on the WebDAV server
Will not allow it to connect no matter what. Big issues.

Tried nextcloud again. Just going to have to on campus to sniff this out.

Nevermind I fixed it! Nextcloud at some point set the owner of /srv and all files to "82". I needed to change all ownership back over to "caddy". Once I did that, it all worked!