Files
org_roam/20250723200800-postgres.org
2026-03-08 13:04:05 +00:00

2.3 KiB
Executable File

Postgres

Something I've been trying to reverse proxy ahead of time. Go to https://zserver.zapto.org/nextcloud , you'll be prompted to login with a username and password: Here's your credentials:

Username: halima Password: loser2104!

Once you've logged in, I've set up your account already, so there should be a calendar already there.

To get your phone logged in, there's two ways:

  1. go to the following address: https://zserver.zapto.org/nextcloud/settings/user/security , scroll to the bottom, under devices and sessions, type in a random name (iphone), and click create new app password. You should then be able to generate a QR code (next to or under the password field), then you can scan that on your iphone app.
  2. inside the app, type the following URL: https://zserver.zapto.org/nextcloud then follow the instructions.

Im thinking of having this as our shared calendar and file system. The only users are us 2 and its completely off the internet (self-hosted).

network issues resolved by:

  docker network connect postgres_network postgres

  zaine@zaine-HP-ProDesk-400-G1-SFF [21:00:27] [~/docker-services/nextcloud] 
  -> % psql -h zserver.zapto.org -p 5432 -U zaine -d zxq_db
  Password for user zaine: 
  psql (14.18 (Ubuntu 14.18-0ubuntu0.22.04.1), server 17.5 (Debian 17.5-1.pgdg120+1))
  WARNING: psql major version 14, server major version 17.
  Some psql features might not work.
  Type "help" for help.

  zxq_db=# \c nextcloud
  psql (14.18 (Ubuntu 14.18-0ubuntu0.22.04.1), server 17.5 (Debian 17.5-1.pgdg120+1))
  WARNING: psql major version 14, server major version 17.
  Some psql features might not work.
  You are now connected to database "nextcloud" as user "zaine".
  nextcloud=# GRANT ALL PRIVILEGES ON DATABASE nextcloud TO nextcloud;
  GRANT
  nextcloud=# GRANT USAGE ON SCHEMA public TO nextcloud;
  GRANT CREATE ON SCHEMA public TO nextcloud;
  GRANT
  GRANT
  nextcloud=# GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO nextcloud;
  GRANT
  nextcloud=# GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO nextcloud;
  GRANT
  nextcloud=# 

  zaine
  M22ZN-fmefj-RdF36-3BMfT-LfWo8

  zaine
  zxh123!