anytimesoon

joined 2 years ago
[–] [email protected] 2 points 1 year ago

Headless. It's all running fine in the background. For now...

[–] [email protected] 5 points 1 year ago (6 children)

I don't run as root because I've always been told I shouldn't. I don't know enough about anything to be contradicting stuff like this. It has always seemed weird to me that we don't run as root and then just sudo everything, though.

What is the reason we don't run as root?

[–] [email protected] 24 points 1 year ago (11 children)

I'm aware that presidents are allowed to do what they like now, as long as it's "official". I'm not aware of what republicans are saying biden isn't allowed to do, though. Can someone please fill me in?

[–] [email protected] 8 points 1 year ago

Pure, unapologetic sleaze. If that's your thing, you should check it out

[–] [email protected] 1 points 1 year ago

I have no issue writing a compose file. Dockge offers a bit more than that with logs and buttons for common commands which makes it easier and quicker to manage than through SSH.

To each their own 🙂

[–] [email protected] 2 points 1 year ago (5 children)

This is pretty much my situation. "Away from home" for me isn't just a trip to the shops, it means being away for weeks at a time. I need to be able to fix things remotely if needed.

I've seen people recommend SSH, which seems worse because that would give potential hackers access to the whole system.

VPN is a very good suggestion, and what I've implemented now. Thank you to everyone who contributed

[–] [email protected] 1 points 1 year ago

Just tried their demo, and they aren't kidding about it being lightweight. Its super fast!

[–] [email protected] 2 points 1 year ago (3 children)

I don't know what hydrogen is, and none of my search terms return anything useful. Would you mind explaining what it is?

[–] [email protected] 5 points 1 year ago (1 children)

There was a 4???

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

It's really weird. I think there are somehow two database volumes on my system.

The reason I think this is because:

  1. I am the only user
  2. there is only one user in the user table
  3. there are two folders in the upload folders. Both have a uuid as their name and one of the uuids matches with the user id in the database
  4. the user_token table has tokens no tokens from before this happened to me a couple days ago

So, where did this other user come from? Why have none of my log ins been tracked in the database before the incident?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

That's correct. Ubuntu is basically just a platform to run docker, haven't really touched it. Docker is the same. Just using it to run my containers. Haven't ventured at all into /var/lib/docker

The weird thing is that it's intermittent. It's only happened twice since I started using immich. I've been restarting the containers repeatedly for a few days now and it hasnt happened again.

[–] [email protected] 1 points 1 year ago (3 children)

The volume is defined like this at the end of the compose file

database:
    container_name: immich_postgres
    image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

volumes:
  pgdata:
  model-cache:
view more: ‹ prev next ›