webrecorder-desktop
webrecorder-desktop copied to clipboard
Redis refuses to start on Windows 10
Every time I try to install WR Desktop, it just hangs there and the processes stay up while nothing happens. I did a bit of digging and it turns out it's because Redis thinks the pagefile is too small.
From redis.log
:
[13948] 07 Nov 11:32:34.854 #
The Windows version of Redis allocates a memory mapped heap for sharing with
the forked process used for persistence operations. In order to share this
memory, Windows allocates from the system paging file a portion equal to the
size of the Redis heap. At this time there is insufficient contiguous free
space available in the system paging file for this operation (Windows error
0x5AF). To work around this you may either increase the size of the system
paging file, or decrease the size of the Redis heap with the --maxheap flag.
Sometimes a reboot will defragment the system paging file sufficiently for
this operation to complete successfully.
Please see the documentation included with the binary distributions for more
details on the --maxheap flag.
Redis can not continue. Exiting.
Is there any way to fix this?
During the startup process of the app, the empty black redis window appears and is immediately showing an alert box saying
Fatal Error!
Failed to execute script webrecorder_full
Closing the alert exits the program without any further messages.
Filing this under the redis bug since it seems to be related to redis, but don't know enough about Win 10 to say for sure what's going on.
Any update on this? I tried the first release and the last two, and none of them work. Command line flashes. I can't catch the error. It closes whether I start the program from the command line or not. But I caught with a recording that it was related to redis, so must be this bug. I don't get any sort of error alert box though.
Also facing the same issue. Is there a way to provide an error log?
Download and install first file of this list - https://github.com/rgl/redis/downloads
Then try to run webrecorder. (This works for me)
If still have the problem,
-
Try clearing the temp files (manually or using a cleanup programme) for previous installations.
-
Stop the redis service from Task manager -> Services -> redis (Stop this)
Then try again.
Hope this helpful :)
Not working for me. I cleaned everything I could think of (disk cleanup then checked temps manually, deleted roaming/webrecorder (which was empty), installed redis, made sure it was stopped (stopped yes?, although i tried with it started too), made sure webrecorder wasn't running (restarted the computer on one try just to be sure). Ran the latest version but this time it wouldn't even flash a command prompt, just a brief flash then nothing, though I could see it running in the task manager.
Anything I might have missed?
Not working for me. I cleaned everything I could think of (disk cleanup then checked temps manually, deleted roaming/webrecorder (which was empty), installed redis, made sure it was stopped (stopped yes?, although i tried with it started too), made sure webrecorder wasn't running (restarted the computer on one try just to be sure). Ran the latest version but this time it wouldn't even flash a command prompt, just a brief flash then nothing, though I could see it running in the task manager.
Anything I might have missed?
I don't know the cause.
Before installing redis, It didn't work at all.
Even now, It doesn't work some times. Need to try different combinations of things to get it to work. (Running WR while running redis, clearing temp, .... etc.)
Oh okay. I was thinking of trying it in the windows sandbox, just have to get around to it. Or alternatively committing the sin of running it on wsl, although that would be avoiding the issue.
Hi all, thanks for taking a closer look at this! I haven't really had time to debug this further, but it seems Redis on Windows remains problematic -- I've only tested it in a Windows VM. I believe we are using one of those binaries already.. If Redis is already running, it will not attempt to start it again, so if find a working instance, it may work..
I suppose this requires further tweaking of the configurations. It seems that Redis is not officially supported on Windows anymore, except via the Linux Subsystem (https://redislabs.com/blog/redis-on-windows-10/)
This project was originally built as a web server, and this Electron app came later, so please forgive the difficulty here. I am also exploring other alternatives that do not involve using Redis..
I also just found this project, which seems to continue maintaining Redis on Windows: https://github.com/tporadowski/redis
If anyone has time to try this out, perhaps this is a promising option. (Webrecorder doesn't really use any of the latest features beyond Redis 2.8 or so, but this may be a more stable version)
I installed that version of redis and verified it's running. The installer of webrecorder still dies :( Pops up a command prompt window for a millisecond, then crickets.
I also just found this project, which seems to continue maintaining Redis on Windows: https://github.com/tporadowski/redis
If anyone has time to try this out, perhaps this is a promising option. (Webrecorder doesn't really use any of the latest features beyond Redis 2.8 or so, but this may be a more stable version)
@ikreymer @ybuzko After I installed the latest version (5.0.9), I can run it successfully! However, don't forget to set the redis service port to 7679
! I think that's the key.