Jump to content

brotholomew

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by brotholomew

  1. 7 hours ago, Tucubanito07 said:

    Ok so this is how my fresh install looks like. I see a couple of different stuff in there not correctly, however, i am not an expert on this. Compare my config and yours and try to mimmick it. Obviously i place wording to explain what goes there. The Cron.php i would say it permission. I also see that you pick SQlite. I dont know how that would work. I always use MariaDB.

     

    <?php
    $CONFIG = array (
      'memcache.local' => '\\OC\\Memcache\\APCu',
      'datadirectory' => '/data',
      'instanceid' => 'This would be the Instance ID Nexcloud chooses',
      'passwordsalt' => 'These Password are given by Nextcloud instance',
      'secret' => 'These Password are given by Nextcloud instance',
      'trusted_domains' => 
      array (
        0 => '10.10.7.4:444',
        1 => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network'
      ),
      'dbtype' => 'mysql',
      'version' => '18.0.2.2',
      'overwrite.cli.url' => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network',
      'overwritehost' => 'Address of the URL of your DNS if you are using Letsencrypt to see your Nexcloud Instance from Outside the network',
      'overwriteprotocol' => 'https',
      'dbname' => 'Database Name',
      'dbhost' => 'IP Address of the Database:Port number',
      'dbport' => '',
      'dbtableprefix' => 'oc_',
      'mysql.utf8mb4' => true,
      'dbuser' => 'Database User You pick when setting up the database',
      'dbpassword' => 'Your Password Obviously',
      'installed' => true,
    );

    Thank you for your support and interest, yet again, Tucubanito07!

     

    I have solved my issue. Turns out that in the unRAID community store there are two nextcloud docker templates. One is from linuxserver guys and the other is from nextcloud. The previous admin of my unRAID server has installed the nextcloud docker using the template from nextcloud and then deleted it. The docker disappeared from the docker list but the config files in /mnt/user/appdata/nextcloud remained.

     

    So the solution was to delete all the nextcloud dockers xd, all the config files from /mnt/user/appdata/nextcloud and then to install the nextcloud docker using the linuxserver template. Worked as a charm :D

  2. 8 hours ago, Tucubanito07 said:

    What does the config file look like?

    Which config file are you referring to?

     

    here's the content of my /mnt/cache/appdata/nextcloud/config/config.php

    <?php
    $CONFIG = array (
      'htaccess.RewriteBase' => '/',
      'memcache.local' => '\\OC\\Memcache\\APCu',
      'apps_paths' => 
      array (
        0 => 
        array (
          'path' => '/var/www/html/apps',
          'url' => '/apps',
          'writable' => false,
        ),
        1 => 
        array (
          'path' => '/var/www/html/custom_apps',
          'url' => '/custom_apps',
          'writable' => true,
        ),
      ),
      'instanceid' => 'oc3mubbn2gg6',
      'passwordsalt' => '/wkCU4ccxIMTpXTWegwRbdxP9zZXEJ',
      'secret' => 'hQiJUJRzS2Sxc9zR9YkGV75k5Hbpd+x0wJGVFqZRyoozP7u7',
      'trusted_domains' => 
      array (
        0 => '192.168.0.2',
        1 => '192.168.0.3',
      ),
      'datadirectory' => '/var/www/html/data',
      'dbtype' => 'sqlite3',
      'version' => '18.0.2.2',
      'overwrite.cli.url' => 'http://192.168.0.2',
      'dbname' => 'nextcloud',
      'dbhost' => '192.168.0.234:3306',
      'dbport' => '',
      'dbtableprefix' => 'oc_',
      'installed' => true,
    );

    and from the docker, there is also this second file from /config/www/nextcloud/config

    <?php
    $CONFIG = array (
      'memcache.local' => '\\OC\\Memcache\\APCu',
      'datadirectory' => '/data',
      'instanceid' => 'ocm0qylmbru5',
      'trusted_domains' =>
      array(
        0 => '192.168.0.3',
      ),
    );

    which config file is the one? XD 

    I also found this in the logs:

    -------------------------------------
    _ ()
    | | ___ _ __
    | | / __| | | / \
    | | \__ \ | | | () |
    |_| |___/ |_| \__/
    
    
    Brought to you by linuxserver.io
    We gratefully accept donations at:
    https://www.linuxserver.io/donate/
    -------------------------------------
    GID/UID
    -------------------------------------
    
    User uid: 99
    User gid: 100
    -------------------------------------
    
    [cont-init.d] 10-adduser: exited 0.
    [cont-init.d] 20-config: executing...
    [cont-init.d] 20-config: exited 0.
    [cont-init.d] 30-keygen: executing...
    using keys found in /config/keys
    [cont-init.d] 30-keygen: exited 0.
    [cont-init.d] 40-config: executing...
    [cont-init.d] 40-config: exited 0.
    [cont-init.d] 50-install: executing...
    [cont-init.d] 50-install: exited 0.
    [cont-init.d] 60-memcache: executing...
    [cont-init.d] 60-memcache: exited 0.
    [cont-init.d] 99-custom-files: executing...
    [custom-init] no custom files found exiting...
    [cont-init.d] 99-custom-files: exited 0.
    [cont-init.d] done.
    [services.d] starting services
    [services.d] done.
    Could not open input file: /config/www/nextcloud/cron.php
    Could not open input file: /config/www/nextcloud/cron.php

    the cron.php file just doesn't exist....

     

    Thx for your interest in my problems, Tucubanito07!

     

×
×
  • Create New...