How to install Warp10 standalone on Win10 without docker ?

44 views
Skip to first unread message

henry...@gmail.com

unread,
Jan 11, 2021, 4:53:52 AM1/11/21
to Warp 10 users
Hi warp10 folks,

I tried to install Warp10 standalone in a Windows 10 environment.
I know you highly discourage running Warp 10 in Windows without docker but I cannot do otherwise for now, and I guess you wouldn't have provided a version that doesn't work at all. 

I have problems running the bat files described on https://www.warp10.io/content/03_Documentation/02_Installation/04_Windows
The init.bat doesn't seem to work at all. I get nothing, no output. No initial tokens, no configuration files into conf.d, no security hashes.

D:\warp10>.\init.bat

D:\warp10>java -Djava.awt.headless=true      -Dlog4j.configuration=file:D:\warp10\etc\log4j.properties      -Dfile.encoding=UTF-8      -Xms1g -Xmx1g -XX:+UseG1GC      -cp D:\warp10\etc;D:\warp10\bin\warp10-2.7.2.jar;D:\warp10\lib\*      io.warp10.standalone.WarpInit      D:\warp10\leveldb

D:\warp10>

==> no output


And of course I get issues when running run.bat

D:\warp10>.\run.bat

D:\warp10>java -Djava.awt.headless=true      -Dlog4j.configuration=file:etc\log4j.properties      -Dfile.encoding=UTF-8      -Xms1g -Xmx1g -XX:+UseG1GC      -cp D:\warp10\etc;D:\warp10\bin\warp10-2.7.2.jar;D:\warp10\lib\*      io.warp10.standalone.Warp      D:\warp10\etc\conf.d\*

  ___       __                           ____________
  __ |     / /_____ _______________      __<  /_  __ \
  __ | /| / /_  __ `/_  ___/__  __ \     __  /_  / / /
  __ |/ |/ / / /_/ /_  /   __  /_/ /     _  / / /_/ /
  ____/|__/  \__,_/ /_/    _  .___/      /_/  \____/
                           /_/

  Revision 2.7.2

Found errors while reading D:\warp10\etc\conf.d\*. (D:\warp10\etc\conf.d\* (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte))

The directory D:\warp10\etc\conf.d\ is empty.

Do you have any explanation ? 
Could you help me please ?

Regards

Henry



Pierre

unread,
Jan 11, 2021, 6:11:27 AM1/11/21
to Warp 10 users
Hello,

There is no bootstrap for Windows, so you have to manually copy conf files from tar.gz templates directory to your conf.d directory, and configure everything by hand. Read warp10-standalone.sh boostrap function to translate into Windows commands.

If I remember correctly, Windows shell do not do shell expansion. So D:\warp10\etc\conf.d\*  is not translated into the list of file as linux do.
Try to replace D:\warp10\etc\conf.d\* by D:\warp10\etc\conf.d\00-xxx.conf D:\warp10\etc\conf.d\01-yyy.conf D:\warp10\etc\conf.d\02-zzz.conf  (and so on).

Windows have several issue we cannot control (number of files opened simultaneously... ), so do not use it in production.
If you cannot use docker, don't you have any way to install ubuntu in virtualbox for example ? 

henry...@gmail.com

unread,
Jan 11, 2021, 9:44:19 AM1/11/21
to Warp 10 users
Thank you for the answer.

I don't have the permissions on the Windows server, so I start to configure Warp10 by hand and I will keep you posted.

This is not for use in production. It is a prototype and intended for demonstrations of a web appli and a single user.

Henry

Pierre Papin

unread,
Jan 11, 2021, 9:52:22 AM1/11/21
to henry...@gmail.com, Warp 10 users
If this is for a demonstration, maybe you can use the sandbox ?
Data will be kept during 15 days, and you do not have to struggle with native windows install.

henry...@gmail.com

unread,
Jan 11, 2021, 10:57:41 AM1/11/21
to Warp 10 users
I can't do that for internal reasons.
If the struggle turns out badly for me I will take an already existing Warp10 database on a Linux server from another project.

henry...@gmail.com

unread,
Jun 17, 2021, 9:50:28 AM6/17/21
to Warp 10 users
Hello,
It's been a while since I had to give you news about the installation of Warp10 on Windows.
Following your advice, I used the install scripts for Linux in a bash shell for Windows.
With some adaptations to the system and the environment, the installation scripts works very well.
I hope I don't come across the incidents you mention, it hasn't happened yet.(number of files opened simultaneously... )
Thank you for the support
Henry

Pierre

unread,
Jun 17, 2021, 10:12:43 AM6/17/21
to Warp 10 users
Well, that's good news, I hope we will get news from you later in your project !

We're shifting from google groups to slack : https://lounge.warp10.io/
It is better for private or business discussions, with public channels to request help or share informations.
Reply all
Reply to author
Forward
0 new messages