[ Upgrade ] Missing and Extra files

Hello Octopus Team,

I’m facing errors after upgrading from 2021.1.7469 to 2021.3.8275.

2021-11-25 15:21:44.1039 6564 10 WARN - FAIL: Files required to successfully run were not found.
2021-11-25 15:21:44.1039 6564 10 WARN To get your Octopus Server back up and running, please re-run the installer for this version of Octopus Server.
2021-11-25 15:21:44.1039 6564 10 WARN If this issue persists, try disabling your anti-virus and re-installing - we sometimes find overzealous anti-virus software can lock or quarantine necessary files.
2021-11-25 15:21:44.1039 6564 10 WARN If neither of these options works, please contact support@octopus.com with a copy of your Octopus Server log files so we can help you get back up and running.
2021-11-25 15:21:44.1039 6564 10 WARN Missing files detected in Octopus directory:

and

2021-11-25 15:21:44.2287 6564 10 WARN - FAIL: 1493 extra files detected in the Octopus directory
2021-11-25 15:21:44.2287 6564 10 WARN Extra files under Octopus directory:

Followed by a list of files, I’m joining the server log with all details : OctopusServer_clean.txt.

I’ve tried to repair the installation twice without success, so before Antivirus modifications or total reinstall I’m asking for support :wink:

Kind regards,

Gregory.

Hi @gregory.blanc,

Thanks for reaching out!

Can I ask a few questions, please?

  • Are you running the installer with an admin account?
  • Would you be able to double-check where you’re setting the install path to when you run the installer?
    image

The reason for the second question is you would likely see the errors you’ve experienced if installing Octopus to the Octopus Home folder: (C:\Octopus by default), instead of the Octopus Install Directory (C:\Program Files\Octopus Deploy\Octopus by default).

Let me know on the above or if any of the information helps, please!

If you have any questions then don’t hesitate to get back in touch.

Kind Regards,
Adam

Hi @adam.hollow,

The user is local admin of the server and I can’t check the install path making repairs.
But it’s unlikely that this parameter changed just for this upgrade.

I will double check with our SysAdmins about any rights update for this account and then try reinstall this staging server.
But I’d like to have confirmations that this will not happen in our production server :slight_smile:

Kind regards,

Gregory.

Hi @adam.hollow,

I’ve uninstalled Octopus Server and reinstalled it, but still the same messages in the log file.

Is there any bug with the Octopus.2021.3.8275-x64.msi?
I’ve checked the MD5 hash after download.

Kind regards,

Gregory.

Hi @gregory.blanc,

Thanks for getting back in touch, I’m not aware of any issues and no other users have reported any issues using that installer.

I’ll discuss the issues you’re having with the rest of the team and get back in touch with our findings.

In the mean time, can you send me a screenshot of the contents of your Octopus Home folder (C:\Octopus by default) and the Octopus Install folder? (C:\Program Files\Octopus Deploy\Octopus by default).

If there are unexpected files as the installer seems to believe then we should be able to tell from a screenshot.

Kind Regards,
Adam

Hi @adam.hollow,

Here the screenshots you asked for :

  • Octopus Home folder (D:\Octopus in our case) :
    OctoUpgrade_Instance-01

  • Octopus Server Instance folder :
    octoupgrade_Instance-02

  • Octopus Server intances folder :
    octoupgrade_Instance-03

  • Octopus Server intances config file :

{
“Name”: “octopus-build”,`
“ConfigurationFilePath”: “D:\Octopus\octopus-build\OctopusServer-octopus-build.config”
}

  • For the install folder (C:\Program Files\Octopus Deploy\Octopus) I attach you a file cause it’s a bit tricky to screenshot a 654 items list : OctopusInstallFolder_itemList.txt

To help you find out a bit more, despite those messages the Octopus server instance seems to run smoothly but I would not have such messages in our Production instance.

Kind regards,
Gregory

Hi @gregory.blanc,

Thanks for your response and for your patience here.

I think a good step to try would be to first retrieve a copy of your master key, then uninstall Octopus via Add or Remove Programs in Control Panel, then either delete or rename the folder C:\Program Files\Octopus Deploy, then attempt to reinstall Octopus Server.

Let me know if you’re able to give this a try as it will essentially provide Octopus with a fresh installation directory. Your instance configuration will remain intact as well as the Octopus Home folder.

Kind Regards,
Adam