Nextcloud issues after setting up schedule IN compose (backup,update,prune)

  • Hi all,

    so i had nextcloud up and running, it's clean install, as well as a fresh install of omv7.

    i setup up the schedule task (backup,update,prune) in the built in compose.

    noticed today i can no longer get to nextclolud using my url https://nextcloud.myurl.com but i can still access nextcloud locally with the local ip.

    it started with a 400 page error (The plain HTTP request was sent to HTTPS portnginx).

    i checked the config.php and it seems fine.


    I have these errors in nextcloud logs.


    Nextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesNextcloud trustedProxies has malformed entriesPHP Fatal error: Uncaught Error: Typed static property OC::$server must not be accessed before initialization in /app/www/public/lib/public/Server.php:39Stack trace:#0 /app/www/public/cron.php(234): OCP\Server::get()#1 {main} thrown in /app/www/public/lib/public/Server.php on line 39PHP Fatal error: Uncaught Error: Typed static property OC::$server must not be accessed before initialization in /app/www/public/lib/public/Server.php:39Stack trace:#0 /app/www/public/cron.php(234): OCP\Server::get()#1 {main} thrown in /app/www/public/lib/public/Server.php on line 39PHP Fatal error: Uncaught Error: Typed static property OC::$server must not be accessed before initialization in /app/www/public/lib/public/Server.php:39Stack trace:#0 /app/www/public/cron.php(234): OCP\Server::get()#1 {main} thrown in /app/www/public/lib/public/Server.php on line 39[migrations] started[migrations] 01-nginx-site-confs-default: skipped[migrations] 02-default-location: skipped[migrations] doneusermod: no changes

    and also some erros in mariadb

    An upgrade is required on your databases. ## ## Stop any services that are accessing databases ## in this container, and then run the command ## ## mariadb-upgrade -u root -p<PASSWORD>


    just incase here is my yml for nextcloud

    any help is much appreciated.

  • HackitZ

    Changed the title of the thread from “Nextcloud issues after setting up schedule (backup,update,prune)” to “Nextcloud issues after setting up schedule IN compose (backup,update,prune)”.
  • i keep changing different config options with the same result, page error 400.

    i've read only one trusted proxy entry, i've tried


    'trusted_proxies' =>

    array (

    0 => gethostbyname('swag'),

    1 => '172.18.0.9',

    ),


    'trusted_proxies' =>

    array (

    0 => gethostbyname('swag'),

    ),


    'trusted_proxies' =>

    array (

    0 => '172.18.0.9',

    ),

  • HackitZ

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!