I have setup so many instances over the months on different servers and the web ui always takes 40s to a minute to load per page I have always used redis for caching and the best methods even the aio docker image(s) are really slow.

kind of just been living with it for the past month or so but its really annoying when others are saying theirs takes seconds to load.

edit: totally didn’t forget to include a body

    • Human Crayon@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I am with you as well. I’ve had my instance up for 3 years on 4 cores and 8GB ram and each page loads in seconds. I’m not running anything crazy on it either (stock + 3ish extras). Hard drives are 4x sas in raid10.

  • MaggiWuerze@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    What Hardware are you using? My nextcloud takes at most a couple seconds and has only been getting faster these last few updates.

  • Auli@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    What data base? I use Mariadb as a backend and have never had slowness like you describe.

  • RandomLegend [He/Him]@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Take a look into the logs, anything suspicious there? Maybe some timeouts, read/write errors, unresponsive tasks?

    What does your webserver say about resource usage for nextcloud? If you load it up, does it stay super low like not even giving it enough resource?

    • invaliduser@forum.bruvland.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      cpu is low 0.2% but ram seems fine using 2GB and looking at the logs in the web ui the only one i have really gotten is

      [PHP] Error: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 7 FATAL:  terminating connection due to administrator command
      server closed the connection unexpectedly
      	This probably means the server terminated abnormally
      	before or while processing the request. at /var/www/html/3rdparty/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php#91
      
      PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json
      from 192.168.200.200 by admin at 2023-06-24T15:08:05+00:00
      
  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Uhm, you will need to tell us more about your hardware or setup.

    I wouldn’t describe my Nextcloud as especially fast or optimized, but it is only around 20s from the login screen to being able to use it. And once you are logged in it is quite fast.

    • invaliduser@forum.bruvland.comOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      i have used all sort of hardware from a pi 4 to a vm on dell server with 2 vcpus and 8GB ram and now a vm on a custom server with 4 vcpus of a AMD Ryzen 9 5900X and 8GB ram using the docker aio I havent messed with it yet because i expected it to work

          • poVoq@slrpnk.net
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            The best is to run the database on an SSD, but move the data directory to a HDD for more storage.