tofubl

joined 1 year ago
[–] [email protected] 11 points 9 months ago

Love it. Thanks for bringing it up.

[–] [email protected] 1 points 10 months ago

You mean like the AIO image, the one officially supported way to install Nextcloud?

But if you want to tune it, I'm afraid you'll have to run sudo tune once per waking hour.

[–] [email protected] 1 points 10 months ago

This sounds interesting.

I use docker in vscode for latex. It saves me the trouble of having to install texlive on my system. I have a task defined that mounts my sources in and runs the compilation in the container.

Would love to hear about your work flow.

[–] [email protected] 3 points 10 months ago

Very anecdotally, I saw a little speed improvement but not all that much. DB size increased a bit. I'll be sticking with it for the time being because why not.

[–] [email protected] 1 points 10 months ago

They will be delighted to hear it.

[–] [email protected] 5 points 10 months ago (3 children)

That makes sense. If you start out without any of those I'm sure it's night and day.

Thanks for the additional input!

[–] [email protected] 3 points 10 months ago (2 children)

I don't think you'll do yourself any favours setting it up on Windows directly. How about docker+wsl2?

[–] [email protected] 3 points 10 months ago

Yeah, I saw that but wanted to take it step by step as not to break everything all at once. 😉

[–] [email protected] 2 points 10 months ago (2 children)

Here's a cool article I found on Nextcloud performance improvements, and connecting Redis over Unix sockets gave me a more substantial performance improvement than migrating to Postgres. Very happy I fell down this rabbit hole today.

To note if you're following the tutorial in the link above, and for people using the nextcloud:stable container together with the recommended cron container:

  • the redis configuration (host, port, password, ...) need to be set in config/config.php, as well as config/redis.config.php
  • the cron container needs to receive the same /etc/localtime and /etc/timezone volumes the app container did, as well as the volumes_from: tmp
[–] [email protected] 8 points 10 months ago (4 children)

Okay, did the migration just now. Everything seems a little more responsive, but I wouldn't call it way faster.

Either way, it wasn't very scary at all. For anybody coming after me:

  • add postgres container to compose file like so. I named mine "postgres", added a "postgres" volume, and added it to depends_on for app and cron
  • run migration command from nextcloud app container like any other occ command and check admin settings/system for db state: ./occ db:convert-type --password $POSTGRES_PASSWORD --all-apps pgsql $POSTGRES_USER postgres $POSTGRES_DB
  • remove old "db" container and volume and all references to it from compose file and run docker compose up -d --remove-orphans
[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (6 children)

Interesting. Do you remember where you read this?

The process seems simple enough. I'm on the nextcloud:stable docker image, so adding a postgres container is really easy, but it's a scary task...

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago)

A very welcome compliment after this ordeal. Thank you! :)

The cleanest way to solve the scaling issue would probably be to go into the pdf2pic module and hack it open to accept the "pcl:fit-to-page" option that GraphicsMagick (the underlying software package doing the actual conversion from PDF to PCL) supports. (Supposing it actually does what it says. I'm not so sure about anything in printer land anymore.)

But since this whole thing is for internal documents only and the scaling can probably be estimated by choosing better values for width/height to account for printer margins I most likely won't bother.

Thanks again for suggesting Node-RED. I'm very happy with the result.

view more: ‹ prev next ›