Want to subscribe to topics you're interested in?
Become a Member

How to install ownCloud on Centmin Mod Nginx

How to install ownCloud on Centmin Mod Nginx

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    eva2000 submitted a new resource:

    How to install ownCloud on Centmin Mod Nginx - How to install ownCloud on Centmin Mod Nginx

    Read more about this resource...
     
    • Like Like x 3
  2. RoldanLT

    RoldanLT Well-Known Member

    3,790
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,253
    Local Time:
    3:16 AM
    1.11
    10.2
    You do not have permission to view this page or perform this action.?
     
  3. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    hmm Resource manager is meant to be private right now.. strange you're seeing this heh

    double checks permissions :)
     
    • Like Like x 1
  4. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. hungphutho

    hungphutho Member

    55
    35
    18
    Jun 2, 2014
    Ratings:
    +35
    Local Time:
    2:16 AM
    1.7.2
    Percona 5.6
    Me cannot read contents
     
  6. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    thanks @hungphutho had an incorrect permssion for registered users. Fixed now so you can see it when logged in :D
     
    • Like Like x 1
  7. hungphutho

    hungphutho Member

    55
    35
    18
    Jun 2, 2014
    Ratings:
    +35
    Local Time:
    2:16 AM
    1.7.2
    Percona 5.6
  8. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
  9. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    3:16 AM
    Seems interesting. Would probably try this soon - looking to stray away from Google Contact's shitty resolution pictures.

    Hopefully Card/Calldav allows for high res contact photos.
     
    • Like Like x 1
  10. andrewklimek

    andrewklimek New Member

    5
    2
    3
    Jul 17, 2014
    Ratings:
    +2
    Local Time:
    3:16 PM
    @eva2000 I was the one who originally asked you about owncloud, and we did get it working fine, but it just came to my attention that the page is completely blank now.

    I had it installed in a sub directory, not root. So, the main website functions http://ambientlight.tv/ but the owncloud dir just loads up a blank page: http://ambientlight.tv/ftp/

    I don't really expect you to have much insight, but I guess I'm hoping :cat:

    Is there an routine permissions repair I should try and stuff of that sort?
     
  11. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    did you adjust Nginx vhost for the moved ownCloud location at /ftp https://community.centminmod.com/resources/how-to-install-owncloud-on-centmin-mod-nginx.1/ ?

    The guide assumes ownCloud at / and not /ftp so need to adjust paths

    i.e. /usr/local/nginx/conf/owncloud.conf

    Code:
    client_max_body_size 10G; # set max upload size
    fastcgi_buffers 64 4K;
    
    rewrite ^/ftp/caldav(.*)$ /ftp/remote.php/caldav$1 redirect;
    rewrite ^/ftp/carddav(.*)$ /ftp/remote.php/carddav$1 redirect;
    rewrite ^/ftp/webdav(.*)$ /ftp/remote.php/webdav$1 redirect;
    
    index index.php;
    error_page 403 /ftp/core/templates/403.php;
    error_page 404 /ftp/core/templates/404.php;
    
    # location = /robots.txt {
    # allow all;
    # log_not_found off;
    # access_log off;
    # }
    
    location ~ ^/ftp/(data|config|\.ht|db_structure\.xml|README) {
    deny all;
    }
    
    location /ftp {
    # The following 2 rules are only needed with webfinger
    rewrite ^/ftp/.well-known/host-meta /ftp/public.php?service=host-meta last;
    rewrite ^/ftp/.well-known/host-meta.json /ftp/public.php?service=host-meta-json last;
    
    rewrite ^/ftp/.well-known/carddav /ftp/remote.php/carddav/ redirect;
    rewrite ^/ftp/.well-known/caldav /ftp/remote.php/caldav/ redirect;
    
    rewrite ^(/ftp/core/doc/[^\/]+/)$ $1/index.html;
    
    try_files $uri $uri/ /ftp/index.php;
    }
    
    and if using Nginx X-Accel-Redirect then this would need changing too

    Code:
    location ~ ^/home/nginx/domains/owncloud1.com/public/ftp/data/.+$ {
    internal;
    root /;
    }
    
    not 100% sure but should be right. Basically where it was / before in guide is now /ftp

    but if was working at /ftp before and now not, then no have no clue

    you should check your error logs for clues = https://community.centminmod.com/threads/how-to-troubleshoot-centmin-mod-initial-install-issues.102/

     
    Last edited: Jul 18, 2014
  12. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    3:16 AM
    yum -y install openldap-clients
    then recompiling php does not install LDAP.

    Likewise for phpfinfo, followed your instructions as well, and its not compiling properly.

    I'm on 1.2.3.07beta21. Any known issues?
     
  13. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    beta21 is old, try using .07 stable by replacing your contents of the current folder at /usr/local/src/* than contains your centmin.sh with contents of .07 stable version Install - Centmin Mod 1.2.3-eva2000.07 stable install | Centmin Mod Community and running centmin.sh

    similar to how it's done for .08 beta01 replacing .07 stable outlined at Is there any way that I can auto sync my "cmdir" from github repo? | Centmin Mod Community
     
    • Like Like x 1
  14. RoldanLT

    RoldanLT Well-Known Member

    3,790
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,253
    Local Time:
    3:16 AM
    1.11
    10.2
    Yeah :D
    Basically
    Code:
    branchname=123.07stable
    wget -O /usr/local/src/${branchname}.zip https://github.com/centminmod/centminmod/archive/${branchname}.zip
    cd /usr/local/src
    unzip ${branchname}.zip
    cd centminmod-${branchname}
    chmod +x centmin.sh
    cd ../
    mv centmin-v1.2.3mod centmin-v1.2.3mod_old07
    mv centminmod-${branchname} centmin-v1.2.3mod
     
    • Like Like x 1
  15. duydangle

    duydangle Member

    43
    7
    8
    May 30, 2014
    Ratings:
    +10
    Local Time:
    2:16 AM
    1.9.9
    10
    Thank you very much for the detailed guide. Could you update the guide with owncloud 7?
     
  16. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    when I have time... but should be roughly the same or there big changes in ownCloud 7 ? I don't really follow their developments myself :)
     
    Last edited: Oct 5, 2014
  17. duydangle

    duydangle Member

    43
    7
    8
    May 30, 2014
    Ratings:
    +10
    Local Time:
    2:16 AM
    1.9.9
    10
    Actually I haven't tried installing owncloud 7. I am planning to install it tonight on my virtual machine after taking a snapshot :D.
     
    • Like Like x 1
  18. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    let us know how it goes :D
     
  19. duydangle

    duydangle Member

    43
    7
    8
    May 30, 2014
    Ratings:
    +10
    Local Time:
    2:16 AM
    1.9.9
    10
    Hello.
    I've just used your guide to install owncloud 7 on centminmod 1.2.3-eva2000.07 on Centos 6.5 with nginx 1.7.6 and PHP 5.4.33, and everything seems to happen flawlessly. Anyway there is something I want to ask:
    - In the owncloud admin page I see this warning:
    Is this because fileinfo is disabled when compiling the PHP source. What's the reason you disable it by default. What's the risk if I enable it?
    - I have not yet tried a paid SSL but only created a self signed SSL certificate and I see this warning when I restart nginx:
    Will I try with a paid SSL certificate solve the problem? Is OSCP important?
    Thank you for this great guide. A huge time saver.
     
  20. eva2000

    eva2000 Administrator Staff Member

    27,791
    6,338
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,345
    Local Time:
    5:16 AM
    Nginx 1.13.x
    MariaDB 5.5