Skip to content

EnvKit 1.0.1: moving a data folder off the top of a drive, and eight smaller fixes

EnvKit 1.0.1 fixes a failing Repair when the data folder is a whole drive, Share on Apache, PostgreSQL imports, nginx on macOS and more.

EnvKit5 min read
On this page

EnvKit 1.0.1 came out on 30 November 2026, one day after 1.0.0. It is a fix release: nothing new to learn, but a few things that went wrong in the first days of 1.0 now work, and a few errors now say what actually happened.

The biggest change is for people whose EnvKit data folder is a whole drive, like D:\. The rest is a list of smaller fixes, each one explained below.

A data folder at the top of a drive

Older versions of EnvKit let you pick any folder as the data folder, including the top of a drive. Some people did exactly that: D:\ became the data folder, and EnvKit's services, certs and config files sat next to everything else on that drive.

EnvKit 1.0 makes its data folder private to your user account. On a normal folder that is fine. On a whole drive it would mean changing the access rights of every file on the drive, which is not something a dev tool should do. In 1.0.0 this showed up as a "Repair" button that failed with "the elevated helper failed (exit 1)".

In 1.0.1:

  • EnvKit no longer offers that Repair when the data folder is a whole drive, and it never changes the access rights of a whole drive.
  • Instead it tells you to move its files into a folder of their own, such as D:\EnvKit, and says where to do it. Once the files are in their own folder, EnvKit makes that folder private.

To move the data, open Settings → Paths. Next to Data directory, click "Move data directory…" and pick a new folder on the same drive. For a data folder at D:\, that means something like D:\EnvKit. EnvKit stops the services, moves its data, and restarts. With large databases this can take a few minutes.

Two details matter here:

  • Only EnvKit's own files and folders move. Your other files on the drive, and your project folders, stay where they are.
  • From the top of a drive, EnvKit moves the data only into a folder on that same drive. If you want it somewhere else, for example on C:, move it to D:\EnvKit first, then use "Move data directory…" again from there.

If the move can't finish, for example because another program has a file open, EnvKit says which file and that nothing was changed. Close the program and try again.

If your data folder is already a normal folder (the default, or any folder you picked that isn't a whole drive), none of this applies to you.

Share on Apache: no more 421

If you use Apache as the web server and shared a site with Share online, the public link could show "421 Misdirected Request" instead of your site.

The cause was in the TLS handshake. The tunnel connected to your local server by IP address, which sends no server name. Recent Apache versions then did the handshake with the first virtual host they had, and refused the request for the site you were sharing because it belonged to a different one. In 1.0.1 the tunnel connects with the site's local name, so the handshake lands on the right site.

A site's Overview page with its https .test URL, Open site, Open in editor, Terminal, Share online and the per-site PHP version picker
Sites → (a site) → Overview, where Share online lives

Errors that now say why

Three errors in 1.0.0 told you something failed but not why. They now carry the reason.

  • Switching to Apache. When you switch the web server to Apache, EnvKit runs Apache's config check first. If that check failed without printing anything, you got "Apache refused the new config:" and then nothing. 1.0.1 adds what it can: the exit code of the check, or that the check was stopped.
  • Default PHP. If no installed PHP can start on your machine, EnvKit can't set a default PHP. It now says so, and adds why the last start check failed.
  • PostgreSQL import, "already exists". If you import a dump into a database that already has those tables, and the dump doesn't drop them first, psql stops with "already exists". EnvKit now adds what to do: import it into a new, empty database, or export it again with:
Terminal
pg_dump --clean --if-exists

PostgreSQL dumps from a newer pg_dump

Recent pg_dump versions write \restrict lines into plain SQL dumps. Older psql versions don't know this command and fail on it. If you took a dump with a newer pg_dump (on a server, or from a newer local install) and imported it into an older PostgreSQL in EnvKit, the import failed.

In 1.0.1 EnvKit leaves those lines out when the psql it imports with doesn't support them. The rest of the dump imports as before.

macOS: nginx and "Too many open files"

On macOS, apps start with a low limit on open files (256), and every service EnvKit starts inherited it. nginx opens an access log for each site, so with many sites a save or reload could fail with "Too many open files".

EnvKit now raises that limit when its engine starts, up to 10240 on macOS, and the services it starts get the higher limit. If you hit this on 1.0.0, it goes away after the update without anything to change on your side.

When the engine isn't running

EnvKit has two parts: the window you click in, and a background engine that runs the services. If the engine failed to start or stopped answering, the window couldn't check for updates either, which left you stuck on a version that might have the bug.

Now, when the engine isn't running, Settings → Updates shows "Download the latest version" with a note that EnvKit can't check for updates right now. Download it and install it over the current version.

Tray menu

Two small fixes in the tray menu:

  • On Windows 10 the menu has square corners. In 1.0.0 the corners showed up black.
  • If you use a community language that EnvKit loads at startup, the tray menu now follows it too, not just the main window.

How to update

If you already run EnvKit 1.0.0, open Settings → Updates and click "Check for updates". If you still use the classic EnvKit, the "Move to the new EnvKit" path from the 1.0 post works the same way and lands you on 1.0.1. Your sites, databases and settings stay where they are.

EnvKit is free for Windows, macOS and Linux. Get the installer from the download page, and read the docs for the full tour of the app.

Try it on your own projects

EnvKit is free, with no account. nginx or Apache, several PHP versions, MySQL, PostgreSQL, Redis, Node and trusted .test HTTPS from one app.

Or install from the terminal
irm https://envkit.net/install.ps1?c=blog-envkit-1-0-1-fixes | iex

More from the blog

All posts →