Fred B.'s picture

I'm a total noob with owncloud, a friend helped me set it up and get it working, and it is currently.

 

I'm able to add users, allow incoming uploads, and such, but I'm having a few issues.

1. File size limit: currently 512MB, can't change it in webdav, option is greyed out

2. can't SSL into the server using Putty, it won't let me in using good credentials.

3. I set up External Storage using SMB/CIFS, I get a green dot to the left of the name, but when I try to access it, I get "Storage is temporarily not available".

 

To try to fix the issues, I have tried to connect to the owncloud server using SSL to resolve the issues, but fail. I'm going through the docs but nothing seems to help with the errors I am having.

Forum: 
Tags: 
Jeremy Davis's picture

I assume that you are using a TurnKey ownCloud appliance? If you are, you've come to the right place. If not, then I probably can't help much and you're probably better off asking your friend for more info about how they installed etc and then contacting the vendor (if provided by another thrid party), or ownCloud suport directly (if your friend set it up from scratch). But I'll assume that it is a TurnKey server for now.
[updated - I just noticed the subject line, clearly this IS a TurnKey server!]

First up, could you please share which version of TurnKey ownCloud (the TurnKey version, not the ownCloud version) you are using (if you know). I was going to say, that if you are unsure, then you could run 'turnkey-version' from the commandline, but if you can't log in via SSH, then that may be a bit tricky...!

Also if you could share where/how you are running it. I.e. in a local VM? On AWS? etc. That should hopefully assist me to understand the context of your issues a little more.

FWIW, I don't know much about ownCloud itself, but am pretty handy with Linux in general and know TurnKey very well (I'm one of the core developers). To address your questions directly:

1. Do you mean in the ownCloud config? If so, that's probably expected behaviour. I imagine that you will need to adjust setting within Apache (the web server we bundle by default) to support that (although TBH, I'm not 100% sure where - but with a bit more info from you, I'm sure we can work it out).

2. I assume that you mean SSH (Secure SHell)? (SSL - Secure Socket Layer is what HTTPS web browser connections use). I'm not even sure that PuTTY can connect via SSL (although I could be wrong...)?! Assuming that you have the right credentials it should "just work". When you say that you have "good credentials", what makes you so sure? (I'm not being smart, I'm genuinely curious).

FWIW the default username is (usually) 'root' (although may be 'admin' if running on AWS) and the password would have been set at first boot initialisation. It is also possible that it is configured to use a keypair (instead of a password) but in that case, your friend should have explicitly noted that and provided you with the required key (which needs to be configured within PuTTY).

3. Regarding external storage via SMB/CIFS - a green dot certainly sounds encouraging, but I am unclear whether you mean the green dot as displayed on the ownCloud docs or something else? Please also note, that as per that doc, additional software needs to be installed on your server. Have you done that?

Fred B.'s picture

I don't know what Turnkey version I'm using since I can't get to the command line.

Typo, I meant SSH not SSL :-)

I'm running owncloud on a physical server locally in my network. Using the packaged Turnkey/owncloud bundle. It's version 10.0.8 of owncloud.

And the green dot I noticed come up when I had configured the external storage when all the necessary fields seem to be "correct", via the owncloud docs.

The default username is admin, not root. And when I say "good credentials", I mean the username/password is correct as of how I configured it when setting it up initially. I double checked the password in the webdav page, so I know the credentials are correct, so I should not get the login failure. It's using a password, to log in, not a keypair I believe.

And regarding additional software, I did notice that in the docs, regarding the external storage, but since I can't get into the server via SSH that's not possible at the moment.

 

Jeremy Davis's picture

That should be sufficient info to provide you with some meaningful assistance I reckon.

FWIW ownCloud 10.0.8 was the default installed version in TurnKey v15.0 ownCloud (FWIW, the current release is v15.1 and include ownCloud 10.0.10 - that page is accessible by following the "changelog" link on the ownCloud appliance page).

From what I can gather, the green dot relates to whether or not ownCloud can "see" the machine hosting the remote share, not whether it can connect or not. If you haven't installed the required dependencies (as per that doc page I noted earlier and/or perhaps this one) then that would certainly explain why it isn't working!

As to the SSH login; unless you explicitly created a new Linux user called 'admin', the default SSH log in is definitely 'root' when installing from ISO (as I assume you would have done for a bare metal install). The ownCloud user (when logging in via the WebUI) is certainly 'admin', but the Linux user is 'root' - there is one exception case, but it's irrelevant here - hence I'm almost certain that we can safely ignore that.

The 'root' account password may be the same as your ownCloud 'admin' password, but it is set separately (it would have been the first password you set during the first boot initialisation after install). So if you (or your friend who assisted) didn't note a separate password, then I'd try the same password as your ownCloud 'admin' via SSH (with username 'root').

If that doesn't work, then you can reset the root password using the TurnKey install CD/USB/ISO in "live mode" (or any other Linux "live" CD/USB). That is a little convoluted, so I'll let you test the easy option first (but please post back if that doesn't work and I'll provide some pointers). The other option is to re-install from scratch and carefully note the root password that you set.

Fred B.'s picture

Ok, I'm finally in with root login via SSH using Putty, appreciate the help here.

Now to get the extra stuff installed to make the external shares work :-)

Will let you know how that works, and also to fix the maximum file size...

 

Jeremy Davis's picture

Great to hear that you now have access via SSH! Glad my assistance was of value. :)

If you run into any issues with setting up Samba, please post and I'll do my best to head you in the right direction.

Regarding increasing the upload size, it looks like this doc page includes the info that you'll need to do that. As that is generic ownCloud documentation, I can give you a bit more info about the TurnKey default config which will make your life a bit easier.

First up, we use Apache webserver, so all the bits relating to "Nginx" (an alternate webserver) can safely be ignored. Also we include mod_php to serve/process PHP via Apache, so references to "php-fpm" and "mod_fcgid" can also be ignored.

It's probably worth noting that if you use Webmin, then editing the php.ini should be pre-configured to the correct files (I'm almost certain that you'll want to edit the "apache" one, not the "cli" one). If you use the commandline, then the Apache related php.ini file path should be something like /etc/php/7.0/apache/php.ini

Once you've updated all the relevant settings, you'll need to restart Apache to re-read the updated Apache and/or PHP config. From the commandline, do that like this:

service apache2 restart
Fred B.'s picture

Maximum file size seems to be working, now for the external shares. Still a little confused about that part. I've read through the references about that, I've seen something about wemin modules, but unsure how they work or how to get them.

Jeremy Davis's picture

Good work on getting that sorted.

Webmin is a web based server admin UI. We package it and pre-install it. It should be available on your server via https on port 12321. I.e. https://YOUR_SERVER_IP_OR_DOMAN:12321 e.g. https://192.168.1.100:12321 (if your server IP is 192.168.1.100).

Personally I'm not a big fan and don't really recommend it. But I much prefer using the commandline anyway (personally I find commandline much quicker, easier and less confusing), but many users like it so YMMV.

Fred B.'s picture

well, until I am better at the command line, it might help me get moving further along faster :-)

Add new comment