How to Best utilize cloud server (OwnCloud)

I have Owncloud configured on a dedicated VM running Server 2012 R2.
I have plenty of storage on a RAID 5 configuration for the backend and I have all of my files on the different drives.
i have a couple different users and I have integrated DropBox and it sits there running along.. I guess.
The problem is that I'm unsure how to utilize it like dropbox.
As and example- I'm setting up a media server and need to use a fair amount of storage.
I would like to store the media on OwnCloud but should I just Map a network drive to a new volume and then have the content available on owncloud or how should I be using it?

Owncloud runs on a dedicated copy of  Server 2012R2 with file services enabled.
The media server is a new VM
A_AmericanELectricAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

btanExec ConsultantCommented:
Some option shared

a) using PHP as page for "WebDAV"
I did however switch to Linux due to some CSync problems on certain files. Running the server on Linux works fine.
http://blog.tedd.no/2013/09/21/setting-up-owncloud-on-windows-your-personal-dropbox/

b) using owncloud apps
Usefully though, you can also mount OwnCloud as a drive over WebDAV. And, if that fails, you can simply use Transmit to map a drive to your OwnCloud file storage area.
Mounting the OwnCloud as a network drive was simple enough, and there are two ways you can do it. One is using WebDAV, but in truth I found this to be a little buggy, with some files not uploading correctly. So, in my case I just created an FTP connection to the files area of my OwnCloud install.
http://mrtrick.net/2013/02/26/rolling-your-own-easily-accessible-cloud-network-drive-with-owncloud-and-transmit/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
A_AmericanELectricAuthor Commented:
Ok I'll look at reinstalling on Linuux tonight.
What is the main function (or functions) you use your OwnCloud for?

I mean I know what I use my Google drive for and would like to incorporate it in fact.
0
btanExec ConsultantCommented:
I see ownCloud as the single central mgmt for all your virtual drive. There is more redundancy with the various option to integrate with existing online virtual storage pool such as Google Drive, Dropbox, etc.
http://opensource.com/life/14/12/using-owncloud-integrate-dropbox-google-drive-gnome

In short, you have a choice. Even ownCloud has list of providers (https://owncloud.org/providers/) to choose from and by building apps on ownCloud, you can (and are really) expanding your central mgmt to vast of service portfolio.
This is just an instance of provider having building ext apps for ownCloud connecting Google Drive to it
https://blog.ownocean.com/how-to-connect-google-drive-to-owncloud/
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

A_AmericanELectricAuthor Commented:
And maybe a dumb question but Owncloud should be dedicated VMS also using Windows files services to create the VDS from the host's physical array?
0
btanExec ConsultantCommented:
It is no different from other cloud sharing "dump", see it as your own, private repository, open source (free) and integrates with other storage providers. The flexibility is no diff for the VM instances or the need to create the Virtual infra (with virtual switches etc). In fact many uses owncloud and came up with the experience suited to easily integrate  user needs, even to extend of making this in USB drive etc...See that owncloud also comes in ova (or ovf) format

e.g. https://solutionexchange.vmware.com/store/products/turnkey-owncloud-appliance
0
A_AmericanELectricAuthor Commented:
OK I'm a pretty smart guy but I'm having a real hard time with the concept. I'm going to send a couple of snapshots of my file server and maybe you can tell me if I'm even close.
0
A_AmericanELectricAuthor Commented:
ThisPCC
AppsPanel
The following errors are new:
Errors
File Services:
File Services and Roles on this VM
0
A_AmericanELectricAuthor Commented:
Hold that thought.

I'm going to setup the Turnkey VM.
Still a lot of fray area with me as to how they are supposed to interface with the physical drive array on the host
0
A_AmericanELectricAuthor Commented:
Absolutely no clue as to how to install turnkey as a VM on Hyper-v!

 No ISO files (not even on the ISO option) DI-live link seems to be broken. di-live available on github that that appears to be something that I will spin wheels on.

Please advise!
0
btanExec ConsultantCommented:
The turnkey VM required the sign up https://hub.turnkeylinux.org/signup/ with first to have the core VM bare metal appliance running and then have the apps to run on it to map the directory. I have not tried it but can I advice that the principal support should be best to move this forward rather than scrambling deep into the bits and pieces. Need to see if it really fit your use case first before plunging, the example are head start and not step by steps (if you are asking for it). Paron me if I have not stated clearly on this.

Community - Help - http://www.turnkeylinux.org/help
FAQ - http://www.turnkeylinux.org/faq
0
A_AmericanELectricAuthor Commented:
Thanks for all your help to this point. I simply created a new VM called Owncloud but it has no OS installed yet so there's no real plunge just a slow transition if it works out
0
A_AmericanELectricAuthor Commented:
A little off topic but can you have a look at this?
I'm having a heck of a time with the final 10%

Asked On2015-03-29 at 20:11:58ID: 28646216
0
btanExec ConsultantCommented:
the turnkey shares the installing of VM image appliance (see listing - http://www.turnkeylinux.org/all) onto the various VM platform in bare metal (see types - http://www.turnkeylinux.org/docs/builds). For example, this is an step by step using Virtual Box and having getting the TurnKey Joomla installed in VB http://www.turnkeylinux.org/docs/installation-appliances-virtualbox

What do you mean by "Asked On2015-03-29 at 20:11:58ID: 28646216"? Do you have the URL instead?
0
A_AmericanELectricAuthor Commented:
Oh.  It's help with another quotation.  I will send you the post ID now
0
A_AmericanELectricAuthor Commented:
as far as this question: can I obtain an ISO and install it as a VM on hyper-v? because I can't find an ISO anywhere for turnkey ownCloud
0
A_AmericanELectricAuthor Commented:
Sickbeard SABnzbd Configuration
0
btanExec ConsultantCommented:
yes you can have the VM appliance and as I already share the link prev. Here is this again http://www.turnkeylinux.org/all?page=1, you can click on any of the appliance and you find the link to the ISO
0
A_AmericanELectricAuthor Commented:
Not sure why I did not find them before but I will try the link again
0
A_AmericanELectricAuthor Commented:
I thought I was going to find an own cloud appliance at that link. this is your speciality not mine but I was thinking that I was going to have a dedicated own cloud server so I'm not sure which option to pick on that link you just divided because there is no ownCloud that I see
0
btanExec ConsultantCommented:
maybe it is this owncloud appliance you are interested in http://www.turnkeylinux.org/owncloud
0
A_AmericanELectricAuthor Commented:
It looks really cool. I was looking for something business class but I swear I cannot find an ISO. It looks like that does have an ISO
0
A_AmericanELectricAuthor Commented:
It was really a super dumb oversight! My host was associating all iso files with winrar so I was actually looking for the iso in the archive rather than using the downloaded iso as the source.
I did notice that these ISOs will only install on GEN1 VMs though.
0
A_AmericanELectricAuthor Commented:
Will the differences between the  1st owncloud appliance ISO and the last "ownCloud Share files, music, calendar"  link be obvious?
0
btanExec ConsultantCommented:
The first owncloud core is based on latest ownCloud v8.0 @ https://doc.owncloud.org/server/8.0/admin_manual/release_notes.html
New in v8 - https://doc.owncloud.org/server/8.0/admin_manual/whats_new_admin.html
 
The second owncloud from turnkey probably is not the latest since the recent first owncloud is of latest as Version 8.0.2 @ March 11th 2015. The first will be preferred and it is maintained as well..

Even the turnkey core is only as of last update on  2013/10/28
 Owncloud core @ http://www.turnkeylinux.org/updates/core 
 Summary of core - http://www.turnkeylinux.org/core
0
A_AmericanELectricAuthor Commented:
No GUI huh?
The command line would not accept my login after many tries so I'm starting over
0
btanExec ConsultantCommented:
0
A_AmericanELectricAuthor Commented:
This is what I have:
linked
so now what?  :)
0
btanExec ConsultantCommented:
Probably the next approach can ref below in https://vorkbaard.nl/add-owncloud-6-0-to-active-directory-2012-r2/
4. Installing ownCloud
5. Connecting ownCloud to Active Directory
6. Troubleshooting
7. What’s next?

fyi - desktop sync client (https://owncloud.org/install/#install-clients
https://doc.owncloud.org/desktop/1.8/installing.html#installation)
0
A_AmericanELectricAuthor Commented:
And I would use the last link on all my Windows clients right?
0
A_AmericanELectricAuthor Commented:
Owncloud up and humming. Here comes the tricky part (at least to me):
The new owncloud appliance is running on the host and I have the Desktop Client installing on my domain desktop.
Now- most of the data I want to serve up resides in the several TBs of hot-swapable RAID 5 storage on the Hyper-V host.
On my old (VM) Owncloud/ Windows Server 2012 R2 config I installed file services and created volumes which is what I served up. That VM is now shutdown so what is the best way (for OwnCloud) to interface the data on the drives?
Hopefully this question makes sense..

How do I go about naming and mounting shared folders on OC?
0
A_AmericanELectricAuthor Commented:
I'm setting up the client as best as I can while I wait on your sresponse tomorrow but here the the only error I have through the web intterface. There are more if I login via https

OC admin panel
How do I configure a port for owncloud so I can login remotely?
0
btanExec ConsultantCommented:
Best that you check out the manual and support @ https://doc.owncloud.org/ and https://owncloud.org/support/

for the locale error, this error shouldn't be a show stopper, so long as nobody uses those lang characters. see this also
this is what i did to solve the problem (for german):

echo LANG=de_DE.UTF-8 > /etc/locale.conf
echo KEYMAP=de-latin1-nodeadkeys > /etc/vconsole.conf
edit /etc/locale.gen and uncomment the desired locale(s).

then run locale-gen to generate the locales. the output should be something like this:

Generating locales...
de_DE.UTF-8... done
Generation complete.
now just restart ....
https://bbs.arkos.io/t/owncloud-locales-problem/667/6

The forum @ https://forum.owncloud.org/ is useful to search for error and setup approach and similar experience
0
btanExec ConsultantCommented:
To be complete, better you see the file sharing (section - File Sharing and Management) instead of back forth to delay your testing @ https://doc.owncloud.org/server/8.1/admin_manual/configuration_files/index.html

for client supported platform, Windows XP, Vista, 7 and 8 as stated in  @ https://owncloud.org/install/#install-clients and if going to recompile codes or apps .. @https://doc.owncloud.org/desktop/1.8/building.html
0
A_AmericanELectricAuthor Commented:
Not sure why I have so much trouble with this part but in the old config I turned on file services (as illustrated) and shared virtual volumes which sort of "rented space" on the Host's RAID 5 array and that is what I mounted/shared on the old OwnCloud. I realize the data is  still present somewhere on the host but here is the question:

Ones of the shared folders is called OS which contains of course, operating systems. Well I remember when I first installed owncloud on the Server 2012 R2 VM called APLUSSERVER-1 I installed file services, created VHDX volumes and then moved all of the OS folder into APPS-1.
So where is the OS folder in relation to the host drives? Is it in that VHDX now? I that VHDX an actual storage space or is it a share?
If I turn off APLUSSERVER-1 the where is all my many TBs of data?
Because now that I have the Owncloud appliance I want to do away with APLUSSERVER-1. How do I even create a virtual drive on the new Owncloud? The link you provided does not cover that.
Windows Storage Services Thank you!
0
A_AmericanELectricAuthor Commented:
Hi again. Also, I have tried this every diffferent way but cannot seem to get it. Any ideas?
OwnCloud Admin LDAP
 (I can post a new thread for any or all of these config issues if  necessary)
1>Installing/mounting folders with original data
2>Connecting to active Directory
3>"smbclient" is not installed
0
A_AmericanELectricAuthor Commented:
ps.
I think I can partially answer my own question:
As far as mounting new folders in OwnCloud- I think I can go to my new Owncloud instance in Hyper-V and simply remount the VHDX files from APLUSSERVER-1 and then choose Local in the admin panel using the IP address of the new install. Right?
0
btanExec ConsultantCommented:
since we are going into the troubleshooting, ideally more expert can chip in instd with new track. Minimally I will say owncloud using is viable
The External Storage Support application enables you to mount external storage services and devices as secondary ownCloud storage devices. You may also allow users to mount their own external storage services.

All of these connect to a LAN ownCloud server that is not publicly accessible, with one exception: Google Drive requires an ownCloud server with a registered domain name that is accessible over the Internet.

Local Storage¶
Use this to mount any directory on your ownCloud server that is outside of your ownCloud data/ directory. This directory must be readable and writable by your HTTP server user.

In the Folder name field enter the folder name that you want to appear on your ownCloud Files page.

In the Configuration field enter the full filepath of the directory you want to mount.

In the Available for field enter the users or groups who have permission to access the mount.
https://doc.owncloud.org/server/7.0/admin_manual/configuration/external_storage_configuration_gui.html#supported-mounts
0
A_AmericanELectricAuthor Commented:
Use this to mount any directory on your ownCloud server that is outside of your ownCloud data/ directory. This directory must be readable and writable by your HTTP server user.

Where is the  ownCloud data/ directory? How do I access it and control the folder size, sub folders etc.?

I'll cover the manual a little better and get back
0
btanExec ConsultantCommented:
you may want to check this for the data folder
https://apps.owncloud.com/kb/Move+data+directory/?kbid=2348&PHPSESSID=0575657bbfb9acb37867e32d2bfdf5da
FAQ - https://forum.owncloud.org/viewtopic.php?t=7118

also
In the new ownCloud directory just created, you will need to move the “data” folder to another location as your data folder cannot live under the wwwroot folder. I chose to move mine to, “c:\ownCloud\data”.

Next, we will need to grant the IIS IUSR account Write rights to the following folder, and subfolders, “c:\inetpub\wwwroot\ownCloud”.
http://www.cloudservers.com/how-to-install-owncloud-on-windows-server-2012-with-ssl/
If you save it in a different folder, and then move the files into wwwroot in Windows explorer, it works. This will install ownCloud locally in your root web directory. You can use a subdirectory called owncloud, or whatever you want – the www root, or something else.

It is now time to give write access to the ownCloud directory to the ownCloud server: Navigate your windows explorer over to inetpub/wwwroot/owncloud (or your installation directory if you selected something different).
Right click and select properties. Click on the security tab, and click the button “to change permissions, click edit”.
Select the “users” user from the list, and check the box “write”.
Apply these settings and close out.
Now open your browser and go to http://localhost/owncloud (or localhost if it is installed in the root www directory). This should bring up the ownCloud configuration page.
http://blog.shiraj.com/2013/07/installing-your-owncloud-on-windows-server-2008/
0
A_AmericanELectricAuthor Commented:
Although OwnClud is installed and running I'm really unable to navigate Putty to create/mount/host data because I do not have a clue about Linux syntax. There is no GUI.

This link that you provided covers the install syntax although I think much of it following Putty is not needed since Ownloud is running.
https://vorkbaard.nl/add-owncloud-6-0-to-active-directory-2012-r2/

I know that I can host folders from other places but all the data I want to host is in the VHDX's on Aplusserver-1
I would like to move these VHDX,s to the new Owncould appliance but I have no idea how to mount them from putty
0
A_AmericanELectricAuthor Commented:
Just saw your post that seems to cover this issue. I will try that
0
A_AmericanELectricAuthor Commented:
In the new ownCloud directory just created, you will need to move the “data” folder to another location as your data folder cannot live under the wwwroot folder. I chose to move mine to, “c:\ownCloud\data”.

Next, we will need to grant the IIS IUSR account Write rights to the following folder, and subfolders, “c:\inetpub\wwwroot\ownCloud”.

I'm really confuse now. I run IIS on a completely different dedicated VM

BTW I can access owncloud from https://10.1.3.46/index.php but  https://10.1.3.46/owncloud returns "cloud not found"
0
A_AmericanELectricAuthor Commented:
Do you know the syntax to list the available directories? I created a test.vhd in the Hyper-v settings for owncloud but do not know how to find it. I have no c:\ in the owncloud appliance do I? Are you talking about moving it on my client machine?
0
A_AmericanELectricAuthor Commented:
As you can see I'm way off the path here...
0
btanExec ConsultantCommented:
I am suspecting if all is follow in the owncloud doc, there seems to be lots of issues here and there, I do another check and apparently owncloud 8.0 does not support Windows server so maybe we shd stick with 7.0 or 6.0.  Here is the doc to 7.0 - https://doc.owncloud.org/server/7.0/admin_manual/installation/windows_installation.html

Archive download ver - https://owncloud.org/changelog/

But seems like owncloud also does not recommend Windows
Note
While ownCloud will run in any standard PHP environment, including IIS or Apache on Windows, there are known issues. For the basic sync and share capabilities of ownCloud, Windows web servers (Apache and IIS) will function properly. However, as apps like external storage are added, particularly SMB mounts, and non-English characters are used in filenames, some of the known Windows and IIS/Apache challenges start to appear as bugs.
ownCloud is not supported on the Internet Server Application Programming Interface (ISAPI).
Microsoft SQL Server is not supported.
For these reasons, while ownCloud server will run on Windows, it is not recommended at this time.
There are other who build owncloud and share on using auto mapping the local drive upon user login, but not Windows though
Mounting ownCloud as a File Share
The ownCloud "Files" storage can be mounted to a local folder on a client workstation via WebDav. This can be done in one of two ways; manually via a file manager like Nautilus on some Linux distributions, or by auto-mounting when a user logs in to their workstation.
https://wiki.amahi.org/index.php/OwnCloud_Other_Stuff
0
A_AmericanELectricAuthor Commented:
The client-side is not really what I'm after: Are you saying that v7 has a GUI?

Mounting ownCloud as a File Share
The ownCloud "Files" storage can be mounted to a local folder on a client workstation via WebDav. This can be done in one of two ways; manually via a file manager like Nautilus on some Linux distributions, or by auto-mounting when a user logs in to their workstation.

Here is my test file that I would like to mount as my Owncloud drives along with several others but I don't know the syntax to do so:


OC1

Here is the structure of the old dedicated Server 2012 R2 with owncloud:

APS1
0
A_AmericanELectricAuthor Commented:
I think that maybe this is what you are referring to with IIS?

Linux FeaturesThis was never offered in my setup
0
A_AmericanELectricAuthor Commented:
So what is the deal?
This is the version that came with the appliance:
Version
ownCloud 5.0.12      (up to date)
Developed by the ownCloud community, the source code is licensed under the AGPL.

I'm not trying to run on Server 2012R@. That is however the hyper-v host.
The whole issue is being able to find the drives (above)
0
btanExec ConsultantCommented:
consider this which I believe it is outcome you are looking at and if follow thru the installation using OCv7..Accessing Files Using Microsoft Windows.
- Mapping Drives With the Command Line
- Mapping Drives With the Windows Explorer
Note

Prior to mapping your drive, you must permit the use of Basic Authentication in the Windows Registry. The procedure is documented in KB841215 and differs between Windows XP/Server 2003 and Windows Vista/7. Please follow the Knowledge Base article before proceeding, and follow the Vista instructions if you run Windows 7.
https://doc.owncloud.org/server/7.0/user_manual/files/files.html#accessing-files-using-microsoft-windows
0
A_AmericanELectricAuthor Commented:
I got this thing figured out.. I think. i have even created a RAID5 Array with my vhd files in webmin. The only problem is that on login I'm displaying all the folders in the entire system drive. I'm not real sure how I did that bur would like to download just the owncloud portion of the appliance in putty and overwrite. Is that possible?
0
btanExec ConsultantCommented:
Mounting VHD is a default behaviour if I am not wrong and it is whole system per se (hence some may use it for backup, it is not file specific though). See this also in Webmin on sharing (http://linhost.info/2012/08/) and on tool like vhdattach @ https://www.jmedved.com/vhdattach/faq/

regardless, to download from the mounted vHD should be viable if connectivity as it is deemed supposedly as another OS partition....the qns on such may be worth having separate discussion since we are looking at owncloud mapping instd which my prev post shared the ver and steps in its guide.
0
A_AmericanELectricAuthor Commented:
I was able to get it using Seuss owncloud in a box. I also installed. The Linux raid package and mounted a fake raid 10 array of VHDs  and set it as the default storage area. However, in attempting to mout my existing owncloud NTFS VHD drives into the non raid Linux tree, I lost all of the data on those drives. TBs of data and binaries... I tried everything to revolver it which is where I have been.
 I gave up.
I'm having some problems. With the LDAP portion though. I,m going to posta new thread and provide the link to it here. I would like to keep this open just a little longer. Thanks!
0
A_AmericanELectricAuthor Commented:
Here it is

"Owncloud appliance LDAP setup issues"
0
btanExec ConsultantCommented:
noted thanks for sharing
0
A_AmericanELectricAuthor Commented:
I learned SO much from this post! Thank you btan!
0
btanExec ConsultantCommented:
thanks for sharing!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cloud Services

From novice to tech pro — start learning today.