[Windows Self-hosted] Docker build won't start

I have Docker Desktop installed on Windows 11.
I installed AppVeyor via "choco install appveyor-server".

Running a "Windows" build shows the following:

Starting Docker job...
template: version:1:44: executing "version" at <.Client.Experimental>: can't evaluate field Experimental in type system.clientVersion
  1. What version of AppVeyor Server is it?

  2. I cannot find a place in the AppVeyor web UI that says the version.

    Choco says it's 7.0.3212: https://community.chocolatey.org/packages/appveyor-server

  3. Found it. The command line says 7.0.3212:

    PS C:\Program Files\AppVeyor\server> .\appveyor version
    7.0.3212
    
  4. Please install the most recent version with the fix: https://appveyordownloads.blob.core.windows.net/appveyor/7.0.3358/a...

    1. I uninstalled 3212 using choco.
    2. I installed 3358 using your MSI (BTW, there's an issue with your MSI I'll note below)
    3. I signed-in to the web UI using my previous username/password.
    4. Attempting to access the existing project shows the following error message across the top:
      > Error deserializing project configuration. Please contact AppVeyor support team.

    Issue with 3358 MSI: When installing, part-way through, the UAC wants to elevate for admin priviliges. After this happens, installation fails with an error message:

    AppVeyor Server Setup Wizard ended prematurely because of an error.

    ... and more text to try again later. I rebooted and it did not fix the issue.

    The MSI install must be started with admin privileges from the beginning. This succeeds.

  5. Actually, there's a whole bunch of errors going into environment settings. Looks like the entire configuration needs to be purged. How do I do that?

  6. Uninstalling 3212 removed "master" encryption key used for database encryption, so old database file become unusable. Delete it at %ProgramData%\AppVeyor\Server and restart the service. Recommended approach is upgrading over the the installed version. Here you can find more info: https://www.appveyor.com/docs/server/maintenance

  7. I uninstalled first because I originally installed using chocolatey and didn't know how the mixed installations would work.

    Deleting %ProgramData%\AppVeyor\Server caused an unrecoverable SqlLite error. Repairing the installation didn't work, so I had to uninstall 3358 and reinstall it.

    The issue reported above is gone. Thanks!

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac