Difference between revisions of "Stuck Sync"

From Neos Wiki
Jump to navigation Jump to search
(Added section on full storage)
m (Fixed sentence wording.)
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<translate>
 
<translate>
 
<!--T:3-->
 
<!--T:3-->
Sometimes, when your account is syncing the sync status as shown on the dashboard will stick at various percentages(10% is common). This indicates that there was a problem while syncing that is halting or pausing the sync process.
+
Sometimes, when your account is syncing, the sync status as shown on the dashboard will stick at various percentages(0% and 10% are common). This indicates that there was a problem while syncing that is halting or pausing the sync process. This guide aims to aid you in resolving a stuck sync. Please follow each step.
  
 
= Ensure you're reading the right guide = <!--T:4-->
 
= Ensure you're reading the right guide = <!--T:4-->
We have multiple guides for Sync related matters, please ensure you are reading the correct one for your problem, for the "Hub" of these see [[Sync Errors]] '''BEFORE''' you start.
+
First, We have multiple guides for Sync related matters, please ensure you are reading the correct one for your problem, if you sync is not stuck or you're experiencing some other sync issue please see [[Sync Errors]] '''BEFORE''' you start.
  
 
<!--T:18-->
 
<!--T:18-->
Line 24: Line 24:
 
<!--T:20-->
 
<!--T:20-->
 
First, let's try some steps which are common to many sync issues:
 
First, let's try some steps which are common to many sync issues:
# Try restarting Neos, this will re-start the sync process and can sometimes get it unstuck
+
# Try restarting Neos, this will re-start the sync process and can sometimes get it unstuck.
 
# Try disabling any mods, plugins or other modifications you have made to Neos, these may affect syncing.
 
# Try disabling any mods, plugins or other modifications you have made to Neos, these may affect syncing.
  
Line 30: Line 30:
 
If you've tried these initial steps then let's move on to discovering exactly what's wrong:
 
If you've tried these initial steps then let's move on to discovering exactly what's wrong:
 
# Examine your [[Log Files]], Sync issues are usually shown in the "Regular" logs.
 
# Examine your [[Log Files]], Sync issues are usually shown in the "Regular" logs.
# The most recent file that shows a stuck sync, should be the one that you examine.  
+
# The most recent file from the log folder should usually be the one to look at, it's more likely to show a stuck sync.  
# Scroll through it looking for issues, If you're unsure try asking on the Discord in the #questions-help channel. Send the full regular log file to whomever is helping you.
+
# Scroll through the file looking for the phrase "Sync".
# Once you've located or been told about the message that's related to your stuck sync. Follow the section below which most closely matches the issue you're seeing in the log file.
+
#* This term is usually quite overloaded as some of Neos' internals are also called "Sync".
 +
#* Make sure you're looking for obvious errors, things that have the words "Fail" or "Error" in their text.
 +
# Once you've found a relevant log file selection please read below in the following list ("Common Stuck Sync Causes"), to see if you can match any of the problems to your problem.
 +
# If you can find a match, click its name in the table to find a dedicated guide just for that problem.
 +
# If you cannot find a matching section, or have trouble with reading your log files, then please share a [[Log Files|log file]] in the #questions-help channel, where another user can examine it to see what is wrong.
  
== Out of Space ==
+
= Common Stuck Sync Causes = <!--T:26-->
If you've found a message in the log file that contains:
 
  
<code>Fail Reason: Out of space</code>
+
<!--T:27-->
 
+
{| class="wikitable"
Then an item/world that you are trying to save is too large for the rest of your storage space, and your storage is now full. Even if your storage indicator says you have storage left.
+
|-
 
+
! Name/Link !! Example Log File contents !! Description
Please follow [[Full Storage| this guide]] on what to do when your storage is full.
+
|-
 
+
| [[Stuck Sync/Out Of Space|Out Of Space]] || <code>Fail Reason: Out of space</code> || Your Neos Account's storage is full. Read the [[Stuck Sync/Out Of Space|Out Of Space]] page for more help.
== Too Many Requests == <!--T:9-->
+
|-
If you've found a message that contains something '''like''' this:
+
| [[Stuck Sync/Too Many Requests|Too Many Requests]] || <code>Fail Reason: Response status code does not indicate success: TooManyRequests (429);</code> || The Neos Cloud is making too many requests at the moment. Read the [[Stuck Sync/Too Many Requests|Too Many Requests]] for more help.
<pre>
+
|-
Fail Reason: Response status code does not indicate success: TooManyRequests (429); Substatus: 3200; ActivityId: ....; Reason: (
+
| [[Sync Conflict|Conflict]] || Anything that has the word "Conflict" || Your have a sync conflict. Read the [[Sync Conflict|Conflict]] page for more help.
code : TooManyRequests
+
|}
message : The request rate is too large. Please retry after sometime. Learn more: http://aka.ms/cosmosdb-error-429,
 
</pre>
 
This error means that there's a rate limit occurring between you and our data storage systems which are a part of the Azure cloud service offerings. This usually happens when items are being saved too quickly or are too large to save temporarily. The issue usually goes away on it's own if you are patient.
 
 
 
<!--T:10-->
 
However, You can follow these steps to try and resolve it:
 
# Try restarting Neos, this will re-start the sync and try it again.
 
# Try waiting for a while before restarting or trying to sync again.
 
# Try waiting for a quieter time for Neos traffic before syncing. Later at night or earlier in the morning
 
 
 
<!--T:11-->
 
This may take up to 48 hours to resolve.
 
 
 
<!--T:12-->
 
'''If you are impatient''', then there are some more items you can try. These '''WILL CAUSE DATA LOSS''':
 
* Force the Sync to ignore records which are causing it to get stuck. This is done by following the [[Sync Conflict]] guide and using the <code>-DeleteUnsyncedCloudRecords</code> option within this guide.
 
* You can [[Clear your database]].
 
 
 
=== Avoiding this problem in the future === <!--T:15-->
 
The Neos team are aware and are investigating this issue, see the [https://github.com/Neos-Metaverse/NeosPublic/issues/3729 bug report on our issue tracker] for more information. In the mean time, try these recommendations to potentially reduce the amount of times you see it:
 
# Avoid repeatedly saving the same object multiple times - For example, waiting a longer period of time between saving copies of worlds or avatars.
 
# Avoid saving multiple items at once - For example, don't grab and save every single object you see.
 
# Avoid saving very large objects, for example a very complicated world, instead save portions of the object such as individual rooms or objects separately.
 
# Break up your saves, save an item...wait 5 minutes... save another item.
 
# Try using your [[Homes|Local Home]] as a Local Backup.
 
# Continue posting reports, log files and information on the [https://github.com/Neos-Metaverse/NeosPublic/issues/3729 bug report on our issue tracker]
 
# Ask in our discord for more information.
 
 
 
==== Large Items ==== <!--T:21-->
 
We've also seen reports of this occurring with exceptionally large assets. For example very high poly scenes and worlds, anatomically correct research models etc. In these cases these assets contain so much information that they can exceed the rate limiting just by themselves. If this is the case, then please try breaking them up as recommended above.
 
 
 
== Conflicts == <!--T:13-->
 
If you find a message stating that there is a conflict, you'll need to see [[Sync Conflict]] page instead.
 
  
 
== Something else? == <!--T:16-->
 
== Something else? == <!--T:16-->
If you can't find something that matches the above list. Please report it on our [https://github.com/Frooxius/NeosPublic/issues issue tracker] or in our Discord. In both cases make sure to provide a [[Log Files|log file]].
+
If you can't find something that matches the above list. Please report it on our [https://github.com/Frooxius/NeosPublic/issues issue tracker] or in our Discord. In both cases make sure to provide a [[Log Files|log file]]. For a technical reason on why stuck syncs occur and break the syncing loop, see [https://github.com/Neos-Metaverse/NeosPublic/issues/3915 #3915] on the Neos Public GitHub.
  
 
<!--T:17-->
 
<!--T:17-->
 
[[Category:Troubleshooting]]
 
[[Category:Troubleshooting]]
 
</translate>
 
</translate>

Latest revision as of 06:16, 7 July 2023

Other languages:
English • ‎中文 • ‎日本語

Sometimes, when your account is syncing, the sync status as shown on the dashboard will stick at various percentages(0% and 10% are common). This indicates that there was a problem while syncing that is halting or pausing the sync process. This guide aims to aid you in resolving a stuck sync. Please follow each step.

Ensure you're reading the right guide

First, We have multiple guides for Sync related matters, please ensure you are reading the correct one for your problem, if you sync is not stuck or you're experiencing some other sync issue please see Sync Errors BEFORE you start.

These problems are slightly different and may require differing steps, so we've split them into separate guides.


DO NOT

  • Delete your Neos data/database or cache files. Doing this will likely make you lose your unsynced items, and can cause other side effects
  • Try to save and sync any more items/worlds. Doing this will add to your sync queue and if your items/worlds are not syncing properly.
  • Click "Exit & Save Homes". Doing this will also add to your sync queue.
  • Send any objects or voice messages through the Contacts tab. Doing this will also add to your sync queue and will not send until any syncing issues are fixed.
  • Change any settings. Doing this will also add to your sync queue and will not save properly until any syncing issues are fixed.
  • Reinstall Neos. Doing this does not help syncing issues, as these are stored in a separate location.

Diagnosing a Stuck Sync

The first step for fixing a Stuck Sync, is to ensure it really is stuck. Sometimes syncing may take a long time or appear stuck but, it's just being slow. Follow these steps to confirm the issue:

  1. Examine the sync status section of your Dash menu. It is in the top bar of the dash and will usually display "All Synced" in green
  2. If it says "Syncing" and then a percentage, examine this percentage. See if it changes or increases. Give it a few minutes to double check that its not just being slow.
  3. If it is still not moving, then you have a stuck sync!

Fixing a Stuck Sync

Fixing a stuck sync, is a little challenging depending on what exactly is wrong so make sure to follow our steps.

First, let's try some steps which are common to many sync issues:

  1. Try restarting Neos, this will re-start the sync process and can sometimes get it unstuck.
  2. Try disabling any mods, plugins or other modifications you have made to Neos, these may affect syncing.

If you've tried these initial steps then let's move on to discovering exactly what's wrong:

  1. Examine your Log Files, Sync issues are usually shown in the "Regular" logs.
  2. The most recent file from the log folder should usually be the one to look at, it's more likely to show a stuck sync.
  3. Scroll through the file looking for the phrase "Sync".
    • This term is usually quite overloaded as some of Neos' internals are also called "Sync".
    • Make sure you're looking for obvious errors, things that have the words "Fail" or "Error" in their text.
  4. Once you've found a relevant log file selection please read below in the following list ("Common Stuck Sync Causes"), to see if you can match any of the problems to your problem.
  5. If you can find a match, click its name in the table to find a dedicated guide just for that problem.
  6. If you cannot find a matching section, or have trouble with reading your log files, then please share a log file in the #questions-help channel, where another user can examine it to see what is wrong.

Common Stuck Sync Causes

Name/Link Example Log File contents Description
Out Of Space Fail Reason: Out of space Your Neos Account's storage is full. Read the Out Of Space page for more help.
Too Many Requests Fail Reason: Response status code does not indicate success: TooManyRequests (429); The Neos Cloud is making too many requests at the moment. Read the Too Many Requests for more help.
Conflict Anything that has the word "Conflict" Your have a sync conflict. Read the Conflict page for more help.

Something else?

If you can't find something that matches the above list. Please report it on our issue tracker or in our Discord. In both cases make sure to provide a log file. For a technical reason on why stuck syncs occur and break the syncing loop, see #3915 on the Neos Public GitHub.