Sunday, April 12, 2020

DSpace on Windows 7-Desktop Experience

For last few days I was reading posts circulated on Facebook or mailing list where libraries are trying to learn and adopt Dspace based Institutional Repository based on windows platform and many libraries are trying to outsource the work.

Though I have not been working on Windows OS for a long time I thought of trying out installation of Dspace on Windows. I had to spend one full day to install Dspace with lot of errors but finally could successfully install DSpace 6.3 on Windows 7 virtual machine.

I thought of sharing my experience with the users as I spent whole day from Morning 8.00 am to evening 5 pm just for getting my dspace working with windows 7 installation.

1. For more than 3 to 4 hours I was not able to get my postgres installation due to error in Microsoft Visual Basic installation but to figure out that it took lot of time. DSpace installation guide says for windows it supports postgres 8.x but there is no postgres 8.x version available for windows installation and latest version of postgres which is 12.x does not have 32 bit support at all and my Windows 7 was 32 bit installation. I was trying to check Windows 7 - 32 bit compatible version of postgres and I could install postgres-10 which took me to
Interactive installer by EnterpriseDB version of postgres (https://www.enterprisedb.com/downloads/postgres-postgresql-downloads ) After a lot of struggle I could download postgres version 10 exe file but it was throwing error "install runtime error" then found that I have to create shortcut on desktop and then in Target option I have to setup following

C:\Users\sunita\Downloads\postgresql-10.12-2-windows.exe --install_runtimes 0
After making above change it allowed me to install postgres.


2. I could download apache-ant, apache-maven, java and installed them on my C:\Program Files but even after several attempts it was giving error as "java is not recognized as internal or external command" then after searching on internet  and running following commands my java installation was recognized. Even these commands I had to run as an administrator
   
setx -m JAVA_HOME "C:\Program Files\Java\jdk1.8.0_241"
setx PATH "%PATH%;%JAVA_HOME%\bin";


3. After carrying out installation still browser was throwing error and it was due to tomcat was kept under C:\Program files and again after searching on Internet I moved tomcat from Program Files to dspace directory and it then allowed me to open dspace.

On dspace standard documentation page none of these issues were mentioned as these errors were specific to windows operating system and very little information is provided on dspace documentation page related to Windows OS related installation of dspace.

I had doubt with following queries and would request windows users to comment on following

1. Are libraries installing dspace on Windows Desktop edition or going for Windows Server Edition installation Are small colleges/universities able to buy server edition of Windows operating system
2. Which mail server is used to configure email with dspace on windows platform
3. Are libraries able to secure their dspace installation with https
4. How cron jobs are set up in windows
5. How users are maintained as dspace completely works with user login/password
6. The digital library/institutional repositories in future will need lot of securities as there is constant attacks on websites which are live hence what security measures can be taken if dspace is installed on windows OS
7. Is it easy to get handle.net working through windows OS otherwise all repositories will have their persistent ID as 123456789
8. We have to see that we should think that if we initiate repository today can it successfully run after atleast 5 to 10 years here onwards? We the libraries have to think from "digital preservation" point of view can our developed repository sustain over the years with contents and technology

I am opening this topic to all and request all professional colleagues to comment on this. Pl. correct/add any other points which are important and missing here.

I would also like to collect list of live repositories available on Windows and running successfully live on Internet and where above all options are already incorporated by the libraries.

We also need to know what unique we have in our libraries which eventually can be part of IR.