Running Seafile as VirtualBox

923 views
Skip to first unread message

Jonas

unread,
Dec 22, 2014, 6:07:19 AM12/22/14
to sea...@googlegroups.com
Hi,
I had problems setting up Seafile as a server in Windows system and the software is already old, so I decided to run a Ubuntu system as a virtualbox in a Windows 8 host.
I managed to set everything up and it is working more or less fine with Web interface, however, windows sync client fails while uploading.
On a server-side in logs such errors appear:
[12/22/2014 01:00:35 PM] ../common/block-backend-fs.c(176): [block bend] failed to commit block 93be018e171e6252bf7531d3c6eb0ded2ee38d03: Text file busy
[12/22/2014 01:00:35 PM] http-server.c(1021): Failed to commit block c709aa44:93be018e171e6252bf7531d3c6eb0ded2ee38d03.

My storage folder is a virtualbox share folder in a Windows NTFS HDD.
Any ideas if that could be solved with future updates? It seems that the server locks the file somehow and other changes can't be done.

Thanks,
Jonas

Christian

unread,
Dec 22, 2014, 7:58:10 AM12/22/14
to sea...@googlegroups.com
I also tested this  configuration (Virtualbox with Shared folder and Ubuntu as guest), an had also problems with syncing. I have not done further investigations, because one time my shared folder was completely lost. I switched to VMWare Workstation and until now all works fine and more stable than with the windows version of the server (ca. 2months).

Maybe you should give VMWare a try (you can test 30days).

I actually have the follwing system:
Host: Win8.1 Pro
VMWare Workstation 10
Guest: Ubuntu 64bit, 14.04, latest updates
SeafileServer 64bit, 4.0.1 with Mysql, data on a WIndows NTFS Share using "Shared folder support".

Regards,
Christian

Jonas

unread,
Dec 22, 2014, 12:11:38 PM12/22/14
to sea...@googlegroups.com
Christian, thanks for your input.
I may have to try to switch to VMware. Currently I took Bitnami ownCloud virtualbox and am running it successfully - also runs better than Apache set up directly on Windows. 
Should I switch to Seafile for better stability/reliability?

Thanks,
Jonas

Christian

unread,
Dec 23, 2014, 2:48:58 AM12/23/14
to sea...@googlegroups.com
Well, I cannot say if ownCloud is better than Seafile, because I only use Seafile. What I can say is, that Seafile is very fast in syncing. But if you decide to use Seafile I recommend to use the Linux/Ubuntu version and MySQL-database. I am syncing ca. 300GB in 40 libraries with 10 users using Seafile and it works excellent after my switch to Ubuntu-Server and MySQL. The Windows-Server version was not so stable as the Ubuntu-Version. 

Regards,
Christian

Jonas Anuzis

unread,
Dec 23, 2014, 6:44:56 AM12/23/14
to sea...@googlegroups.com
I see.. ANd you are running it as VirtualMachine with VMWare without any problems? Your disk attached to virtual machine is NTFS?

--
You received this message because you are subscribed to a topic in the Google Groups "seafile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seafile/xJa_P1JNH8c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seafile+u...@googlegroups.com.
To post to this group, send email to sea...@googlegroups.com.
Visit this group at http://groups.google.com/group/seafile.
For more options, visit https://groups.google.com/d/optout.

Christian

unread,
Dec 23, 2014, 7:09:53 AM12/23/14
to sea...@googlegroups.com
Yes, no problems. 
Host System is Windows 8.1 Pro, VMWare Workstation 10, Guest System is Ubuntu 14.04, 64bit, and the Seafile Data Folder is on an NTFS-Windows disk (10TB space, RAID6 System), which is accessible from Linux via the "Shared Folder" option offered by VMWare. Then I made a symbolic link from the shared folder in /mnt/hgfs/... to the "seafile-data-directory" so that I have the same layout as you can find in the manual. The program files of the Seafile-Server are on my virtual disk where Ubuntu is running, because they need not much space. I switched from Seafile-Windows-Server-Version to the Seafile-Ubuntu-Server-Version 2 months ago, and until today no problems.

Regards,
Christian

Jonas Anuzis

unread,
Dec 23, 2014, 5:32:46 PM12/23/14
to sea...@googlegroups.com
One more question - did you manage to make it work with HTTPS sync using single SSL port instead of several (including 10001, 12001)?

Christian

unread,
Dec 24, 2014, 8:38:54 AM12/24/14
to sea...@googlegroups.com
I do not need HTTPS syncing, because the server is running inside my LAN. From outside, I use VPN to connect to my local LAN, so I do not need to reach the server directly from outside. So  I never tested this.

Regards,
Christian
Reply all
Reply to author
Forward
0 new messages