Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. shiv03_9800
    S
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    shiv03_9800

    @shiv03_9800

    0
    Reputation
    16
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    shiv03_9800 Follow

    Best posts made by shiv03_9800

    This user hasn't posted anything yet.

    Latest posts made by shiv03_9800

    • Docker Otter 3.0.13 NewJob w Custom Schedule - Invalid chron expression and EditJob w Remediate Drift - Script is required

      (tried docker otter:3.0.14-ci.1) Situation: I want to schedule a job for detect and remediate drift every hour.

      Jobs\Upcoming & Recurring\Create Recurring Job\Remediate Drift on Recurring Basis:

      • Schedule: Custom
      • Run at time: 0 0 * ? * * *
      • [Create Job]

      .1. Description: "Invalid chron expression:".

      1. LogMessage:
        Logged:
        11/04/2021 13:00:39
        Level:
        Error
        Category:
        RecurringJobDispatcherRunner
        Message:
        Unhandled exception: cronExpression cannot be null
        Details:
        System.ArgumentException: cronExpression cannot be null
        at Quartz.CronExpression..ctor(String cronExpression)
        at Inedo.Otter.Service.TaskRunners.RecurringJobDispatcherRunner.GetNextRunTime(DateTimeOffset expectedNow, JobConfiguration jobConfig) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E156460\Src\src\Otter.Service\TaskRunners\RecurringJobDispatcherRunner.cs:line 78
        at Inedo.Otter.Service.TaskRunners.RecurringJobDispatcherRunner.RunAsync(CancellationToken cancellationToken, Object args) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E156460\Src\src\Otter.Service\TaskRunners\RecurringJobDispatcherRunner.cs:line 47
        at Inedo.TaskRunner.RunInternalAsync(Object args)

      2. Value (of field Job_Configuration record in table Jobs) wo "CronSchedule":
        <Inedo.Otter.Jobs.JobConfiguration Assembly="OtterCoreEx"><Properties JobType="Configuration" ServerTargeting="RolesAndEnvironment" Simulation="False" Async="True"><ServerNames /><ServerRoleNames><Item>agent</Item></ServerRoleNames><EnvironmentNames /><Variables /></Properties></Inedo.Otter.Jobs.JobConfiguration>

      3. If edit-recurring job:

      • Schedule: "Every day"
      • Run at time: (blank)
      1. Equally for "Run Script on Recurring Basis".

      2. Workaround:

        1. Create with Schedule: "Every day";
        2. Update sql-record in table Jobs with CronSchedule "0 0 * ? * * *".

      .2. Edit-recurring (RemediateDrift Job) - "Script is required".

      posted in Support
      S
      shiv03_9800
    • RE: Docker Otter 3.0.12 with InedoAgent The agent does not have a valid execution temp path

      @gdivis Thank you very much (it works).

      posted in Support
      S
      shiv03_9800
    • RE: Docker Otter 3.0.12 with InedoAgent The agent does not have a valid execution temp path

      @shiv03_9800 said in Docker Otter 3.0.12 with InedoAgent The agent does not have a valid execution temp path:

      You retold:
      https://docs.inedo.com/docs/inedoagent-configuration-troubleshooting
      But in both cases, it is missed workaround that here need to reconfigure in Otter the 'serverX' (pull the settings), for push content to blank temporary directory.
      Otherwise - 'droped' execute with "Agent don't installed".
      (This is not required in SSH-connect)

      docker otter:3.0.14-ci.1 still reproduced "not documented '5. Do Otter\Servers\srvX\Details\Edit\OK'".

      posted in Support
      S
      shiv03_9800
    • RE: Docker Otter 3.0.12 with InedoAgent The agent does not have a valid execution temp path

      docker otter:3.0.13 (wo reinstall InedoAgent), exec PowerShellDemo.
      Status: Warning
      (Execution: OK)
      Cleanup & Finalization:
      DEBUG: Cleaning up temporary files on Inedo Agent (v??, 10.72.14.141:80)...
      WARN: Unable to delete temporary directory "C:\ForInedoAgent\10.72.14.130\Temp_E1104" on Inedo Agent (v??, 10.72.14.141:80): Could not load file or assembly 'System.Private.CoreLib' or one of its dependencies. The system cannot find the file specified.

      posted in Support
      S
      shiv03_9800
    • RE: Docker Otter 3.0.12 with InedoAgent The agent does not have a valid execution temp path

      Hi,

      @Dan_Woolf:
      <OtterRootPath>C:\ForInedoAgent</OtterRootPath>
      I tried both options yesterday - with a dot and without a dot, and together at once.

      Can you please clarify what you are referring to when you say that you need to reconfigure Otter to blank the temporary directory. The Inedo Agent based servers do not have an option to set a temporary path directly in Otter.

      Please, look [EDO-7988]

      @rhessinger: [EDO-7988]

      posted in Support
      S
      shiv03_9800
    • RE: Docker Otter 3.0.12 with InedoAgent The agent does not have a valid execution temp path

      Hi @Dan_Woolf,

      1. Answer:

        1. was as defaullt: BUILTIN\SYSTEM;
        2. no changes (the service is started as a new local user, folders appeared in the specified folder [C:\Tmp\otter], the error, subfolders and log is the same).
      2. You retold:
        https://docs.inedo.com/docs/inedoagent-configuration-troubleshooting
        But in both cases, it is missed workaround that here need to reconfigure in Otter the 'serverX' (pull the settings), for push content to blank temporary directory.
        Otherwise - 'droped' execute with "Agent don't installed".
        (This is not required in SSH-connect)

      posted in Support
      S
      shiv03_9800
    • Docker Otter 3.0.12 with InedoAgent The agent does not have a valid execution temp path

      On execute "PowerShellDemo" on "InedoAgent", error:
      "The agent does not have a valid execution temp path.
      Execution run failed."

      Tried: on 3 machines: W10/2016/2019 (2019 - in one [Proxmox] host with docker).

      With:
      new DB Otter (or old from otter-3.0.10)
      docker otter:3.0.12
      Inedo Agent (v49, a1.b1.c1.d1:80/46336)
      Encryption: None or AES
      status="Ready" (empty LogMessages)

      After execute:

      1. LogMessages: empty

      2. LogFile:
        dt: Connection request from a2.b2.c2.d2:nnnnn
        dt: Connection established with a2.b2.c2.d2:nnnnn
        dt DEBUG [s-x1] start message loop
        dt DEBUG [s-x1] waiting for message ...
        dt DEBUG [s-x1] message recieved (25 bytes)
        dt DEBUG [s-x1] waiting for message ...
        dt DEBUG [s-x1] message recieved (17 bytes)
        dt DEBUG [s-x1] waiting for message ...
        dt: a2.b2.c2.d2:nnnnn disconnected.
        dt DEBUG [s-x1] message recieved ((null) bytes)
        dt DEBUG [s-x1] terminated message loop

      3. There are folders:

        1. %TEMP%:
          C:\Windows\Temp\Inedo
          ExtensionCache\ - with subfolders
          C:\Windows\Temp\InedoAgent\Otter\a2.b2.c2.d2
          Agents
          Extensions
          Temp\ - empty
        2. C:\ProgramData:
          C:\ProgramData\Inedo
          SharedConfig\ - with conf
          C:\ProgramData\InedoAgent\ - empty.
      4. cacls on these folders:

        • with SYSTEM:F (InedoAgentService runas SYSTEM).
        • I added Everyone:F - without changes.
      posted in Support
      S
      shiv03_9800
    • RE: Docker Otter 3.0.10 Agentless don't work (Credentials)
      1. In C:\Windows\Temp\InedoAgent...\bin - somehow not enough files: 23 (on other machine - only 7 - Otter*).

      2. Deleting/Rename the folder C:\Windows\Temp\InedoAgent and restarting the service - no event error.
        But the error is reproducible (both: message "droped" and 3 events "hostfxr.dll"/23 files).

      3. Maybe there is a continuation of topic "Docker Otter 3.0.11 Segmentation fault (core dumped)"?

      posted in Support
      S
      shiv03_9800
    • RE: Docker Otter 3.0.10 Agentless don't work (Credentials)
      1. [EDO-7981]

      2. reinstall (with drop/create DB Otter) docker otter 3.0.12-ci.1, latest (3.0.11.1)

      • dont work, similarly ("drop").
      1. EventViewer (for agent on clear WS2019) on start "InedoAgentService":
        err app '.Net Runtime' 1023
        The required library not exist hostfxr.dll shoulds in C:\Windows\Temp...\bin.
      • That is, the Otter-installer does not check, does not install dependencies.
      1. with WS2019 was installed .Net FW Full 4.7.03190.
        hostfxr.dll - (most likely) from Powershell7
      posted in Support
      S
      shiv03_9800
    • RE: Docker Otter 3.0.10 Agentless don't work (Credentials)

      It is very sad, since it also:

      Don't work with Inedo Agent (49.0.0, tried with docker 'otter 3.0.12-ci.1' and 3 windows machines W10/2016/2019):

      1. Does not connect to the agent (always 'The connection was dropped'; aes / none, with [fw] open port: checked nc -v ip 46336);
      2. And it does not allow changing "aes -> none" ('EncryptionKey' remains in the record in table 'Servers') [workaround: clear field "Encryption key"].

      Bye.

      PS: Ansible with Powershell 7
      https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_powershell_module.html

      posted in Support
      S
      shiv03_9800