Jump to content

breakline

Members
  • Posts

    36
  • Joined

  • Last visited

Posts posted by breakline

  1. When I very first started trying to passthrough my gtx 660 I was having pretty much the same results as you and the ONLY way I found out how to get it to work was adding a 2nd video card for unraid console to latch onto ( no integrated graphics ).  I added a cheap gt 210 and unraid console picks that graphics card first so that my 660 is free for the vm's and its working awesome with windows 8.1 and nvidia drivers up to date .

     

    granted I have not tried the new steps listed in the wiki ,I'll be doing that here in the next week or 2 so that I can hopefully free that pcie slot for another card/machine. I need a way to tell unraid not to attach the console to the first card or maybe tell unraid that its headless and  so I can test it out , but idk if thats possible. anyways if you have another card to test might be worth a shot.

     

    my hardware

    asrock 990fx fatality

    fx8350

    msi gtx660

    msi gtx 660TI pe

     

     

  2. Thanks again to cirkator for suggesting HeidiSQL.

     

    Did a fresh install of ownCloud using MariaDB and everything seems to be functioning as well as I expected. Firstly I recommend that MariaDB be installed, then setting Root password using HeidiSQL, then install ownCloud.

     

    Before completing ownCloud installation, at the Add Container Gui, click Advanced View and scroll down to the Environment Variables section and notice the Variable Name and Variable Value. This is used to create your SSL Cert. The Variable Value can be changed to anything you need:

     

    /C=US/ST=CA/L=City/O=Organization/OU=Organization Unit/CN=yourhome.com

     

    to this: /C=US/ST=NY/L=Buffalo/O=Elm DataCenter/OU=TechOps/CN=mycloud.elmdata.com

     

    You can of course include a domain or subdomain that you use to point to your home network (via dynamic dns or other means).

     

    I'm assuming that MariaDB and ownCloud will be installed with default ports, and your (Volume Mappings) Host path mapped to your desired location.

     

    1. Simply login to MariaDB with HeidiSQL using the unRAID's IP address with root as username with no password.

     

    2. In HeidiSQL click on Tools then choose User Manager. Find Root and change password.

     

    3. While in HeidiSQL might as well create the ownCloud database and ownCloud user: ex: ocowner

     

    3.A. on the left pane right click your mouse, choose Create new -> Database , and name it what you like ex: owncloud and click OK.

     

    3.B. Click on Tools -> User Manager -> Click Add at the upper left corner -> enter User name, then choose From host (its your preference but I suggest your local LAN), enter password twice,

     

    3.C. then at Allow access to: you may Add object (your preference but I would choose your database to start with and select the entire Database ). I did not choose Global privileges as I believe this will be like adding MariaDB root privileges to ownCloud root user, and this is not desired or necessary IMHO. YMMV.

     

    3.D. Click Save. Exit HiediSQL if you wish.

     

    4. Once ownCloud is installed you can open a browser and go to https://yourlocalhost:8000 and enter a new Admin account and Password, and also choose MariaDB database as install. The rest is your preference.

     

    5. I do recommed after logging in and setting up ownCloud admin settings to winSCP to your unRAID server and find the config.php file for ownCloud, example: /mnt/user/appdata/owncloud/config . You will find config.php under the config folder.

     

    Double click the config.php file to open it. It will look like the below code, but be aware that the IP address is specific to my unRAID Tower and mycloud.elmdata.com was added as a trusted domain, that obviously also matches the CN of the SSL cert that was set up in the Environment Variables section in the Add Container section for ownCloud . By adding the URL mycloud.elmdata.com to the config.php there will not be an error on the browser when trying to login to the server from the outside world. I access my server using https://mycloud.elmdata.com by itself. My router port forwards port 80 to https://192.168.100.100:8000. All is good.

     

     

    <?php
    $CONFIG = array (
      'instanceid' => 'och68ppxik6u',
      'passwordsalt' => 'zr0VoAt4/JPiv82RlhcSByxg7c2N9O',
      'secret' => 'VbYA4LSzIT0.1Vvg6.amPzTZGtv6RZD13QU9zC9FaddmWfncnotmyrealsecret',
      'trusted_domains' => 
      array (
        0 => '192.168.100.100',
        1 => 'mycloud.elmdata.com',
    
      ),
      'datadirectory' => '/var/www/owncloud/data',
      'overwrite.cli.url' => 'https://192.168.100.100:8000',
      'dbtype' => 'mysql',
      'version' => '8.0.2.0',
      'dbname' => 'owncloud',
      'dbhost' => '192.168.100.100',
      'dbtableprefix' => 'oc_',
      'dbuser' => 'oc_elmerfudd',
      'dbpassword' => 'icantwaitforsummerdeargod',
      'installed' => true,
      'loglevel' => 0,
      'mail_smtpmode' => 'smtp',
      'mail_from_address' => 'support',
      'mail_domain' => 'elmdata.com',
      'mail_smtphost' => 'imap.elmdata.com',
      'mail_smtpport' => '465',
      'mail_smtpauth' => 1,
      'mail_smtpauthtype' => 'PLAIN',
      'mail_smtpsecure' => 'ssl',
      'mail_smtpname' => '[email protected]',
      'mail_smtppassword' => 'itstoodamncoldthiswinter',
      'forcessl' => true,
    );

     

     

    Thanks net2wire , I had set it up and was able to access it before reading your post but was not too sure or comfortable that it was correct or secure I have no experience with sql or database software at all.  I deleted mariadb and owncloud dockers/shares and folders and started fresh following your guide and feel  better about it.

     

    one question I have though is I set up a share called owncloud and set :

     

    /var/www/owncloud/data    to    /mnt/user/owncloud/

     

    and all owncloud files are in there including my owncloud user folder ,is that how it should be or should I point      /var/www/owncloud/data    to    mnt/cache/docker/apps/owncloud for config and other app files

     

    and then set another  container volume  as /data    and point to  host path:  /mnt/user/owncloud    where all my user folders for owncloud would be ? 

     

      sorry dont even know if that makes sense still trying to wrap my head around how some dockers have seperate container volume and host paths and and what it means and  how they work and how that is determined.

×
×
  • Create New...