Reproduced multiple times with various webdav servers - a my own and Yandex.
Full log from "close content moment"
```log
[INFO] [State]: Saving state "RAM", 23608 bytes.
[INFO] [State]: Saving state "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/states/Nestopia/Duck Tales 2 (USA).state", 23608 bytes.
[INFO] [State]: File already exists. Saving to backup buffer ...
[INFO] [State]: Loading state "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/states/Nestopia/Duck Tales 2 (USA).state", 23728 bytes.
[INFO] [RCHEEVOS]: Awarding achievement 19851: Mu
[INFO] [RCHEEVOS]: Achievement 19851 awarded, new score: 136
[INFO] [State]: Saving state "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/states/Nestopia/Duck Tales 2 (USA).state", 23544 bytes.
[INFO] [State]: File already exists. Saving to backup buffer ...
[INFO] [State]: Loading state "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/states/Nestopia/Duck Tales 2 (USA).state", 23608 bytes.
[INFO] [Core]: Content ran for a total of: 00 hours, 53 minutes, 52 seconds.
[INFO] [Runtime]: Saving runtime log file: "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/playlists/logs/Nestopia/Duck Tales 2 (USA).lrtl".
[INFO] [Core]: No content, starting dummy core.
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [RCHEEVOS]: Unloading game 1670
[INFO] [Core]: Unloading game..
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved core options file to "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/config/Nestopia/Nestopia.opt".
[INFO] RetroArch 1.19.1 (Git e2f91d8b5f)
[INFO] === Build =======================================
[INFO] Capabilities: NEON VFPV3 VFPV4
[INFO] Version: 1.19.1
[INFO] Git: e2f91d8b5f
[INFO] Built: May 31 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "cocoa".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: 960x720.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: "cocoavk".
[INFO] [Vulkan]: Detecting screen resolution: 1920x1080.
[INFO] [Vulkan]: Found GPU at index 0: "Apple A15 GPU".
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using semaphores for WSI acquire.
[INFO] [Vulkan]: Using GPU: "Apple A15 GPU".
[INFO] [Vulkan]: Queue family 0 supports 1 sub-queues.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1920x1080.
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [Joypad]: Found joypad driver: "mfi".
[INFO] [Video]: Found display server: "null".
[INFO] [CoreAudio]: Using output sample rate of 48000.0 Hz
[INFO] [CoreAudio]: Using buffer size of 24576 bytes: (latency = 64 ms)
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Playlist]: Loading favorites file: "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/config/content_favorites.lpl".
[INFO] [CloudSync] begin succeeded
[WARN] webdav failed: manifest.server: HTTP -1
[WARN] [
{
"path": "config/Beetle PCE Fast/Beetle PCE Fast.opt",
PCE Fast/Beetle PCE Fast.opt",
config/Beetle PCE Fast/Beetle PCE Fast.opt",
/Beetle PCE Fast/Beetle PCE Fast.opt",
st/Beetle PCE Fast.opt",
eetle PCE Fast.opt",
PCE Fast/Beetle PCE Fast.opt",
PCE Fast/Beetle PCE Fast.opt",
Fast/Beetle PCE Fast.opt",
E Fast/Beetle PCE Fast.opt",
.v20180605)
[
{
"path": "config/Beetle PCE Fast/Beetle PCE Fast.opt",
etle PCE Fast/Beetle PCE Fast.opt",
le PCE Fast.opt",
PCE Fast.opt",
[WARN] [CloudSync] server manifest fetch failed
[INFO] [CloudSync] all done!
```
Files manifest.server (both Apple TV/RetroArch/downloads and on webdav server) and manifest.local is absolutely identical with valid json.
Expected behavior
Notification should not be green
I'm sure something was broken in sync process or something broke the file on the server. I didn't touch the files on the server. Only the RetroArch has access there.
Actual behavior
See description. Obscure error in the log and green error message in the UI 🤷🏻♂️
Steps to reproduce the bug
configure CloudSync, turn on, reboot the app
first sync should complete successfully
trigger sync anyhow - reboot the app or load-n-close any content
First and foremost consider this:
Description
Apple TV, latest tvOs, latest RetroArch from AppStore
1.19.1 (Git e2f91d8b5f)
Apple TV has perfect stable network wired connection.CloudSync is enabled, first sync completed successfully. Syncing only between one client and server, just for backup.
The second and all subsequent synchronisations fail. I see green notification "CloudSync finished with failures".
Log:
Reproduced multiple times with various webdav servers - a my own and Yandex.
Full log from "close content moment"
```log [INFO] [State]: Saving state "RAM", 23608 bytes. [INFO] [State]: Saving state "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/states/Nestopia/Duck Tales 2 (USA).state", 23608 bytes. [INFO] [State]: File already exists. Saving to backup buffer ... [INFO] [State]: Loading state "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/states/Nestopia/Duck Tales 2 (USA).state", 23728 bytes. [INFO] [RCHEEVOS]: Awarding achievement 19851: Mu [INFO] [RCHEEVOS]: Achievement 19851 awarded, new score: 136 [INFO] [State]: Saving state "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/states/Nestopia/Duck Tales 2 (USA).state", 23544 bytes. [INFO] [State]: File already exists. Saving to backup buffer ... [INFO] [State]: Loading state "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/states/Nestopia/Duck Tales 2 (USA).state", 23608 bytes. [INFO] [Core]: Content ran for a total of: 00 hours, 53 minutes, 52 seconds. [INFO] [Runtime]: Saving runtime log file: "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/playlists/logs/Nestopia/Duck Tales 2 (USA).lrtl". [INFO] [Core]: No content, starting dummy core. [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [INFO] [RCHEEVOS]: Unloading game 1670 [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core]: Saved core options file to "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/config/Nestopia/Nestopia.opt". [INFO] RetroArch 1.19.1 (Git e2f91d8b5f) [INFO] === Build ======================================= [INFO] Capabilities: NEON VFPV3 VFPV4 [INFO] Version: 1.19.1 [INFO] Git: e2f91d8b5f [INFO] Built: May 31 2024 [INFO] ================================================= [INFO] [Input]: Found input driver: "cocoa". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz. [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Set video size to: 960x720. [INFO] [Vulkan]: Vulkan dynamic library loaded. [INFO] [Vulkan]: Found vulkan context: "cocoavk". [INFO] [Vulkan]: Detecting screen resolution: 1920x1080. [INFO] [Vulkan]: Found GPU at index 0: "Apple A15 GPU". [INFO] [Vulkan]: Using GPU index 0. [INFO] [Vulkan]: Using semaphores for WSI acquire. [INFO] [Vulkan]: Using GPU: "Apple A15 GPU". [INFO] [Vulkan]: Queue family 0 supports 1 sub-queues. [INFO] [Vulkan]: Got 3 swapchain images. [INFO] [Vulkan]: Using resolution 1920x1080. [INFO] [Vulkan]: Using RGB565 format. [INFO] [Vulkan]: Loading stock shader. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [INFO] [Joypad]: Found joypad driver: "mfi". [INFO] [Video]: Found display server: "null". [INFO] [CoreAudio]: Using output sample rate of 48000.0 Hz [INFO] [CoreAudio]: Using buffer size of 24576 bytes: (latency = 64 ms) [INFO] [Audio]: Started synchronous audio driver. [INFO] [Display]: Found display driver: "vulkan". [INFO] [Playlist]: Loading favorites file: "/private/var/mobile/Containers/Data/Application/5864C5BA-CE6D-4144-AAC3-EB1E4EEAB16C/Library/Caches/RetroArch/config/content_favorites.lpl". [INFO] [CloudSync] begin succeeded [WARN] webdav failed: manifest.server: HTTP -1 [WARN] [ { "path": "config/Beetle PCE Fast/Beetle PCE Fast.opt", PCE Fast/Beetle PCE Fast.opt", config/Beetle PCE Fast/Beetle PCE Fast.opt", /Beetle PCE Fast/Beetle PCE Fast.opt", st/Beetle PCE Fast.opt", eetle PCE Fast.opt", PCE Fast/Beetle PCE Fast.opt", PCE Fast/Beetle PCE Fast.opt", Fast/Beetle PCE Fast.opt", E Fast/Beetle PCE Fast.opt", .v20180605) [ { "path": "config/Beetle PCE Fast/Beetle PCE Fast.opt", etle PCE Fast/Beetle PCE Fast.opt", le PCE Fast.opt", PCE Fast.opt", [WARN] [CloudSync] server manifest fetch failed [INFO] [CloudSync] all done! ```Files
manifest.server
(bothApple TV/RetroArch/downloads
and on webdav server) andmanifest.local
is absolutely identical with valid json.Expected behavior
Notification should not be green
I'm sure something was broken in sync process or something broke the file on the server. I didn't touch the files on the server. Only the RetroArch has access there.
Actual behavior
See description. Obscure error in the log and green error message in the UI 🤷🏻♂️
Steps to reproduce the bug
Version/Commit
Environment information