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: Lillian.W@AST

flowrider
Posts: 21
youtube meble na wymiar Warszawa
Joined: Tue Apr 21, 2015 3:54 pm

How to access OwnCloud by Internet

Post by flowrider »

Hello all,
I've finally succeeded in installing OwnCloud using this guide http://www.it-connect.fr/asustor-instal ... ostgresql/ 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?/K ... ip-address but I couldn't get it to work.

Any suggestions?
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: How to access OwnCloud by Internet

Post by MikeG.6.5 »

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.
flowrider
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Post by flowrider »

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
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: How to access OwnCloud by Internet

Post by MikeG.6.5 »

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.
flowrider
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Post by flowrider »

Thanks for that. I tried the links in your Sig but they're all dead.
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: How to access OwnCloud by Internet

Post by MikeG.6.5 »

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.
flowrider
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Post by flowrider »

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 12990 times
flowrider
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Post by flowrider »

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?/K ... ip-address
Here's what they have and file I've altered.
Image

My result:
Image
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: How to access OwnCloud by Internet

Post by MikeG.6.5 »

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.
flowrider
Posts: 21
Joined: Tue Apr 21, 2015 3:54 pm

Re: How to access OwnCloud by Internet

Post by flowrider »

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 12986 times
Post Reply

Return to “ownCloud”