It is currently Tue Dec 18, 2018 2:40 am
All times are UTC + 8 hours

How to access OwnCloud by Internet

ownCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. Installation has minimal server requirements, does not need special permissions and is quick. ownCloud is extendable via a simple but powerful API for applications and plugins.

Moderator: leecool

How to access OwnCloud by Internet

Postby flowrider » Thu May 12, 2016 8:12 am

Hello all,
I've finally succeeded in installing OwnCloud using this guide http://www.it-connect.fr/asustor-installation-downcloud-avec-postgresql/ where it used Postgresql as the database. I can access OwnCloud locally but can't figure out how to access it outside my local network. I have my XXXX.myasustor.com working but using xxxxxxx.myasustor.com/owncloud doesn't work.

I've also tried this article from Asustorhttp://support.asustor.com/index.php?/Knowledgebase/Article/View/177/33/why-i-cannot-access-owncloud-over-the-internet-or-local-ip-address but I couldn't get it to work.

Any suggestions?
flowrider
 
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Postby MikeG.6.5 » Thu May 12, 2016 10:03 am

Two steps you need to do, that you probably haven't. You need to forward the ports for the default web server the NAS uses on your router, and then you need to include that port number as part of the address.

http://yourasustorid.myasustor.com:portnum/owncloud

This works for m every time. And you can also forward the port for the SSL as well, so you can use the https connection for security. You will have to accept a domain certificate error message once, but after that should work great.
MikeG.6.5
 
Posts: 910
Joined: Fri May 15, 2015 1:56 am

Re: How to access OwnCloud by Internet

Postby flowrider » Thu May 12, 2016 10:38 am

Thanks Mike. I'll give it a try but honestly I'm pretty clueless when it comes to things like port forwarding. I always end up doing a whole bunch of stuff and never really figure out what I'm doing. I'll try and find a guide somewhere online for dummies.

I appreciate the help.

Thanks
Steve
flowrider
 
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Postby MikeG.6.5 » Thu May 12, 2016 11:16 am

Look at the first post in the third link in my signature. It has the details you need, but you are going to need to find your router's manual on line.
MikeG.6.5
 
Posts: 910
Joined: Fri May 15, 2015 1:56 am

Re: How to access OwnCloud by Internet

Postby flowrider » Thu May 12, 2016 12:01 pm

Thanks for that. I tried the links in your Sig but they're all dead.
flowrider
 
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Postby MikeG.6.5 » Thu May 12, 2016 2:37 pm

Wow! Sorry, I didn't know that. They worked when I first made the signature up. I wonder if something has changed. Try them now, they should work fine now, if not let me know.
MikeG.6.5
 
Posts: 910
Joined: Fri May 15, 2015 1:56 am

Re: How to access OwnCloud by Internet

Postby flowrider » Thu May 12, 2016 2:50 pm

Thanks Mike. Well I can access OwnCloud locally but not through the DDNS name. I used the third link (Plex) and did some reading. I found that port 8080 could not be seen on my external IP. I think that I'm port forwarding correctly. Not too sure what I'm doing incorrectly. I really need a dummy guide!
Attachments
Screenshot 2016-05-11 23.50.07.png
Screenshot 2016-05-11 23.50.07.png (39.3 KiB) Viewed 4335 times
flowrider
 
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Postby flowrider » Thu May 12, 2016 3:00 pm

I'll start from the beginning...
I successfully installed OwnCloud using a French guide that uses PostgreSQL. I can access it locally.
Image

Next I tried to edit the config.php file using this guidehttp://support.asustor.com/index.php?/Knowledgebase/Article/View/177/33/why-i-cannot-access-owncloud-over-the-internet-or-local-ip-address
Here's what they have and file I've altered.
Image

My result:
Image
flowrider
 
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Postby MikeG.6.5 » Thu May 12, 2016 3:12 pm

That looks right for the port forwarding, but you need to verify that 8080 is the internal port that onwCloud uses. It should be the same port number you use when you click on the ownCloud app in the ADM. If it's not the same as there, then you need to change your forwarding. (remove, save and remake.) I also have an Asus router, and I know first hand, don't make too many port forwards at once, the system can lock up. Make one, save, make the next, save, etc.

As far as editing the config file, you ALSO need to include the port number, for example:

Code: Select all
  'trusted_domains' =>
  array (
    0 => 'asutoridhere.myasustor.com:8080', # http access
    1 => 'asustoridhere.myasustor.com:443' # https access
  ),


The port is part of the address, like the last few digits of a phone number, so unless you include it, the server says it's not valid, and errors the connection. BTW, do NOT include the "#" and the text afterwards in that sample of the code. I don't know how it will work, if you do.... I put them in so you know what each line is there for.

Make those changes and tell me how it works afterwards.
MikeG.6.5
 
Posts: 910
Joined: Fri May 15, 2015 1:56 am

Re: How to access OwnCloud by Internet

Postby flowrider » Thu May 12, 2016 3:53 pm

Well some success. I checked to see if 8080 can be seen and it can.

BUT...

I still can't access anything via 8080. I can log into ADM on a different connection if I use port 8000 however.

Does my config file look correct now? I'm wondering about the blue hightlighted section actually. Also wasn't too sure how to get the "1 =>" to line up with the "0=>" so I just used the spacebar until they lined up. Not to sure if that makes a difference or not.

Man this is frustrating! Synology's CloudStation was so much simpler to configure and use but I hated the way it handled images which is my main use for it. OwnCloud looked great but what a bear it's been to figure out. I've had my Asustor for almost a year now and I still can't figure this out which is unusual for me. I appreciate your help John.
Attachments
Screenshot 2016-05-12 00.50.27.png
Screenshot 2016-05-12 00.50.27.png (47.41 KiB) Viewed 4331 times
flowrider
 
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Next

Return to ownCloud

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 2 guests