SEServerExtender / EssentialsPlugin

Dedicated Essentials Plugin
GNU Lesser General Public License v3.0
18 stars 18 forks source link

Automatic Cleanup continues to trigger every minute #27

Closed awaldrop closed 9 years ago

awaldrop commented 9 years ago

image

I have a basic 'no beacon' cleanup set to run at noon, with a 15,10,5,3,1 minute warning. Everything seems to work except after it triggers the cleanup, it continues to do it every minute until i disable the plugin.

Relevant Config XML:

  <CleanupTriggerItems />
  <CleanupTimedItems>
    <SettingsCleanupTimedItem>
      <Restart>2015-04-23T12:00:00</Restart>
      <NotificationItemsRan />
      <LastRan>2015-04-20T11:59:59.6958688-04:00</LastRan>
      <Enabled>true</Enabled>
      <RestartTime>12:00</RestartTime>
      <ScanCommand>excludesblocksubtype:Beacon:1</ScanCommand>
      <Reason>derelict ship cleanup</Reason>
    </SettingsCleanupTimedItem>
  </CleanupTimedItems>
  <CleanupNotificationItems>
    <SettingsCleanupNotificationItem>
      <lastRan>2015-04-20T11:45:00.5082101-04:00</lastRan>
      <Enabled>true</Enabled>
      <MinutesBeforeCleanup>15</MinutesBeforeCleanup>
      <Message>Server Cleanup in 15 Minutes!</Message>
    </SettingsCleanupNotificationItem>
    <SettingsCleanupNotificationItem>
      <lastRan>2015-04-20T11:50:00.4431072-04:00</lastRan>
      <Enabled>true</Enabled>
      <MinutesBeforeCleanup>10</MinutesBeforeCleanup>
      <Message>Server Cleanup in 10 Minutes!</Message>
    </SettingsCleanupNotificationItem>
    <SettingsCleanupNotificationItem>
      <lastRan>2015-04-20T11:55:00.6170193-04:00</lastRan>
      <Enabled>true</Enabled>
      <MinutesBeforeCleanup>5</MinutesBeforeCleanup>
      <Message>Server Cleanup in 5 Minutes!</Message>
    </SettingsCleanupNotificationItem>
    <SettingsCleanupNotificationItem>
      <lastRan>2015-04-20T11:57:00.7327872-04:00</lastRan>
      <Enabled>true</Enabled>
      <MinutesBeforeCleanup>3</MinutesBeforeCleanup>
      <Message>Server Cleanup in 3 Minutes!</Message>
    </SettingsCleanupNotificationItem>
    <SettingsCleanupNotificationItem>
      <lastRan>2015-04-20T11:59:00.9445593-04:00</lastRan>
      <Enabled>true</Enabled>
      <MinutesBeforeCleanup>1</MinutesBeforeCleanup>
      <Message>Final Warning: Server Cleanup imminent!</Message>
    </SettingsCleanupNotificationItem>
    <SettingsCleanupNotificationItem>
      <lastRan>2015-04-20T10:07:20.8810806-04:00</lastRan>
      <Enabled>true</Enabled>
      <MinutesBeforeCleanup>1</MinutesBeforeCleanup>
      <Message>Cleanup In Progress...</Message>
    </SettingsCleanupNotificationItem>
  </CleanupNotificationItems>

Essentials Version 1.12.0.2392

If you need anything else please let me know.

dodexahedron commented 9 years ago

Has it always behaved this way or is this new behavior?

LordNex commented 9 years ago

Been this way ever since trythis gave up that I remember.

On Apr 24, 2015, at 11:32 PM, dodexahedron notifications@github.com wrote:

Has it always behaved this way or is this new behavior?

— Reply to this email directly or view it on GitHub.

dodexahedron commented 9 years ago

Can you pastebin your actual log file during one of the times this was happening? Ideally, I'd like to see the beginning and some continuation of the bad state.

awaldrop commented 9 years ago

I'm assuming the Main log (SpaceEngineerDedicated_yyyymmdd_hhmmss.log)

http://pastebin.com/YF4jK2aM

I Grabbed it to reference the above screen shot, it starts Just prior (11:47) with the cleanup set for Noon (12:00) and goes for an extra hour (1:00)

The log doesn't show me anything useful but hopefully it helps. If this isn't the log you are looking for, where might I find the one you want?

dodexahedron commented 9 years ago

I mean the SESE log, which will be located in the DedicatedServer64/logs folder.

-----Original Message----- From: "Allen" notifications@github.com Sent: ‎4/‎26/‎2015 10:14 AM To: "SEServerExtender/EssentialsPlugin" EssentialsPlugin@noreply.github.com Cc: "dodexahedron" brandon@dodecatec.com Subject: Re: [EssentialsPlugin] Automatic Cleanup continues to trigger everyminute (#27)

I'm assuming the Main log (SpaceEngineerDedicated_yyyymmdd_hhmmss.log) http://pastebin.com/YF4jK2aM I Grabbed it to reference the above screen shot, it starts Just prior (11:47) with the cleanup set for Noon (12:00) and goes for an extra hour (1:00) The log doesn't show me anything useful but hopefully it helps. If this isn't the log you are looking for, where might I find the one you want? — Reply to this email directly or view it on GitHub.

awaldrop commented 9 years ago

Here is the Server Extender Log, I may need to change a configuration option to get you more detailed logs though...

http://pastebin.com/qAttSgEP

I lined it up to start with the auto-save in the screen shot above until I unloaded the plugin to make it stop cleaning.

This is from the Plugin Log: (Nothing for a long time before)

2015-04-24 12:00:00.3002|Info|EssentialsPlugin.Utility.CubeGrids+<>cDisplayClass70.b6f|Cleanup 2015-04-24 12:00:00.3002|Info|EssentialsPlugin.Utility.CubeGrids+<>cDisplayClass70.b6f|Cleanup 2015-04-24 12:48:40.2686|Info|EssentialsPlugin.Essentials.Shutdown|Shutting down plugin: Dedicated Server Essentials - 1.12.0.2392 2015-04-24 12:48:42.0728|Debug|EssentialsPlugin.Essentials.InitWithPath|Initializing Essentials plugin at path C:\Users\Administrator.DTPC\AppData\Roaming\SpaceEngineersDedicated\Mods\Essentials\ 2015-04-24 12:48:43.1748|Info|EssentialsPlugin.ProcessHandlers.ProcessRestart.StopAllShips|Stopping all ships 2015-04-24 12:48:43.1968|Info|EssentialsPlugin.ProcessHandlers.ProcessRestart.StopAllShips|0 ships have been stopped

dodexahedron commented 9 years ago

This should be fixed in 1.12.3.2412 Re-open if there are further issues with it.