Migrating to Synology NAS from MBP #184
Replies: 2 comments 3 replies
-
Frankly, I'm stumped on this one. Might need to sleep on it and see if I can come up with any theories. My only current theory would be that your configuration file is not actually getting mounted into the container resulting in an authentication error with Peloton and the |
Beta Was this translation helpful? Give feedback.
-
Just a quick sanity check the below path exists and has your expected configuration?
Second sanity check, verify the permissions on the volumes mounted to the container. Since you copied them over its possible they were created by the Root user and the docker container would not be running as Root and so therefore not able to access them. I know none of this has anything to do with the HTTP error, but I've still got no ideas on that front. My theory is still that it might be a config or permissions issue, and the HTTP error is a red herring... but its just a guess. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I setup p2g using docker-compose on my MBP and it's running well and now I'm attempting to migrate it over to my Synology NAS. First off I upgraded the docker-compose on the NAS to 1.29.2. Then I copied the entire p2g folder (containing all the sub directories for p2g, *.yaml, *.json, etc...) from my MBP and dropped it into the /volume1/docker/ folder on the NAS. From there I ssh'ed into the NAS, then switched to sudo, cd'ed into the p2g directory and ran docker-compose up.
Thing we're looking good, meaning I saw the container get created and start but then it failed because it couldn't make the http call to Peloton. Whole log is pasted at bottom. I think I know enough to confidently say the container isn't able to make a connection to the internet but I don't know enough on how to resolve the issue. Other tidbits of information: I've installed Portainer; the firewall isn't turned on the NAS; I'm currently running pihole and plex containers on the same NAS with no issues; I did install vault warden (used this guide: https://www.wundertech.net/how-to-self-host-the-password-manager-bitwarden-on-a-synology-nas/) but never finished setting it up so the container isn't running but part of that install included a proxy.
So with that brain dump, any thoughts on how I can get past this current error? Thanks.
---- Log below----
2021-10-30 10:15:48.006 -06:00 [WRN] App.PythonAndGuploadInstalledLocally setting is deprecated and will be removed in a future release. Please swith to using Garmin.UploadStrategy config.
2021-10-30 10:15:58.731 -06:00 [ERR] Http Call Failed. null
2021-10-30 10:15:58.742 -06:00 [ERR] Failed to authenticate with Peloton.
System.NullReferenceException: Object reference not set to an instance of an object.
at Common.FlurlConfiguration.<>c__DisplayClass1_0.<b__1>d.MoveNext() in /build/src/Common/FlurlConfiguration.cs:line 35
--- End of stack trace from previous location ---
at Flurl.Http.FlurlRequest.SendAsync(HttpMethod verb, HttpContent content, CancellationToken cancellationToken, HttpCompletionOption completionOption)
at Flurl.Http.ResponseExtensions.ReceiveJson[T](Task`1 response)
at Peloton.ApiClient.InitAuthAsync(String overrideUserAgent) in /build/src/Peloton/ApiClient.cs:line 38
2021-10-30 10:15:58.781 -06:00 [INF] No download directory found. Nothing to do. ./working/downloaded
2021-10-30 10:15:58.783 -06:00 [INF] No upload directory found. Nothing to do.
2021-10-30 10:15:58.784 -06:00 [INF] Done.
Beta Was this translation helpful? Give feedback.
All reactions