I have had no issues with auto updates for a while now, everything has been working fine. Sometime around ARK game update 227, my auto updates have quit working again. I have made no changes to anything on my Win 2012 Server R2 dedicated server. In task scheduler the last run result for the autoupdateservercache and autoupgrade tasks are (0x1). My daily restart still works apparently as the autoupgradeforce returns a result saying the operation completed successfully. The server has not auto updated itself since Ark game update 227 I believe. Where should I start troubleshooting?
Post by hybridfury on Dec 29, 2015 10:02:22 GMT -5
Lastupdated.txt and lastchecked.txt were last modified on 12/16. Both files also contain that date. Updatecache.txt is full of "waiting for lock file". Updateinprogress.txt is present in the directory so I deleted it and let the task to try and auto update run again. Updateinprogress.txt still says "waiting for lock file" and now the updateinprogress.txt file is back and I cannot delete it as it says it is open in powershell. Auto update tasks in task scheduled still give last run result of (0x1)
Last Edit: Dec 29, 2015 10:04:05 GMT -5 by hybridfury
Post by hybridfury on Dec 29, 2015 10:53:52 GMT -5
Deleted cache directory and all scheduled tasks. Reset cache directory in ASM and re-saved profile to get scheduled tasks back. Went into task schedule and manually ran the task to update server cache and it has re-updated itself with no issues. Guess I won't know if the upgrade part works till Ark devs push another update. Any reason why this keeps happening? Seems the cache directory and the server directory get confused with each other every once in a while.
Last Edit: Dec 29, 2015 10:54:16 GMT -5 by hybridfury
Post by hybridfury on Dec 29, 2015 18:03:35 GMT -5
As stated in my very first post, nothing has been changed and yes, everything I run on my dedicated has full control admin rights. Silly questions. I have yet again fixed it as stated in my last post. The question is, why does it keep happening every month or so. It seems at some point the cache directory holds an older version of ARK thinking its the latest version which results in it not updating.
Your Question was: "Where should I start troubleshooting?" And you postet that your Task Scheduler returns 0x1. I know this Return in cases, when the Users which runs the Task has not enough Permissions. "I have made no changes to anything on my Win 2012 Server R2" <- That means that you have nothing changed on your System. But that not means that the Adminitrator Account has been expired or something else.
I would say there are some Permission Problems on your Server, but i cannot tell you what exactly the errors caused. Did you tried to delete all Scheduled Tasks and Recreated it by ASM? Also tried to completely removed and redownloaded the ASM (with the same Profile Config to avoid Data Loss)?
Not sure if this will help but I did the following to fix my issues:
1. Stopped Server and Unchecked Auto-Start and Enable Periodic Updates, then saved config. 2. Deleted ASM and Reinstalled it. 3. Deleted the Cache Folder where Steam Command downloads Ark to. 4. Deleted the YourServerLocation\ShooterGame\Saved\Config\WindowsServer\UpdateServerFromCache.cmd and .log 5. Restarted ASM, checked Auto-Start and Enable Periodic Updates, Saved, then Started my server.
This seems to have fixed my problems, I was having similar problems like you was, I was getting a 0x1 on Server Cache and on Autoupdate. Seems to be working now.
Last Edit: Jan 6, 2016 15:57:19 GMT -5 by stealth95l
Although I did see this in my log file so this might be an issue.
2016/01/06 13:35:54 ERROR 32 (0x00000020) Copying File G:\Servers\Ark\Cache\Engine\Content\EditorMaterials\MatineeGroups\MAT_ColorTrack.uasset The process cannot access the file because it is being used by another process.
Waiting 30 seconds... Retrying...
that was when the server was running.
ARK Server Manager and it's creators are in no way affiliated with Studio WildCard or its partners.
ARK: Survival Evolved™ and its related images, trademarks and copyrights are the sole property of Studio Wildcard and or its partners and affiliates.
The ARK Server Manager is provided free of charge for all legal use. The source code is freely available on GitHub. See the Release Information forum for more information.