fit
fit copied to clipboard
Unable to sync - internet issue
The first sync seemed to work fine. I sorted one conflict I had and then deleted the fit folder. After this I started getting an "unable to sync error" (I've attached the screenshot for the full message, but it essentially relates it to the internet). I disconnected & then reconnected to my WiFi source and still got this issue. I then tried uninstalling & reinstalling this plugin (I'm thinking maybe this wasn't a good idea but alas) in case it was the fit folder deletion that was the issue and that didn't work either.
Any suggestions?
(thank you by the way though)
Stale issue message
I have the same issue: on my Samsung S23 phone, the Fit sync works for the initial sync. Even without changing anything, all subsequent sync attempts fail with "Unable to sync" message. The console.log indicates a 403 response. The Personal Access Token is permissioned with full "repo" perms.
@joshuakto I have the same fit sync issue on my iPhone. Worked fine initially and I could also sync from my mobile device, but a couple of days ago stopped working
Is this happening only on mobile devices? Could we add a debug option to enable on the phone and check for errors?
Reinstalled the app on iPhone in order to resync. Will try and pay more attention on future syncs to figure out any patterns
Same issue here. Can't even get the first sync right, it just throws back this.
i faced this issue, while checking console ctl+shift+i i can see that it was error due to Some "folder already existing ".
Earlier i pushed all files include app's system files.
So i just
Created new repo. and started sync using fit. it worked.
my suggestion is please dont sync with existing repository with existing vault. make one of them is new for fit
REPLY IF IT WAS USEFUL
I already did that but I tried it again and it didn't work, I still can't sync at all.
i faced this issue, while checking console
ctl+shift+ii can see that it was error due to Some "folder already existing ".Earlier i pushed all files include app's system files.
So i just
Created new repo. and started sync using fit. it worked.
my suggestion is please dont sync with existing repository with existing vault. make one of them is new for fit
REPLY IF IT WAS USEFUL
Holy crap it worked! What I did is created a new access token that had permissions for repositories, then created a new repository from the link inside settings. Then had it sync my local files to populate the repo. I then did a fresh install on my phone and downloaded to the plugin to sync everything. Thanks.
I already did that but I tried it again and it didn't work, I still can't sync at all.
NOTE I am just an end-user, I am just sharing my experience and my fix. I am not official person.
@sambuca1g
I am just an end-user, I just sharing my experience and my fix. I am not official person.
Steps i followed:
- Please create new fresh empty repo in GitHub.
- Create new empty vault in local (phone or pc).
- Disable other git plugin for safety (it doesn't matter but try to avoid conflict)
- sync repo in fit
- populate/move files to vault from old vault/folder => it automatically sync to repo
- Enjoy
I hope it will fix
REPLY IF IT WAS USEFUL
I created a fresh vault for this and it still doesn't work. The first sync works, but subsequent syncs don't.
Steps i followed [updated]:
- Please create new fresh empty repo in GitHub.
- Create new empty vault in local ( pc). <<< CHANGED >>>
- Disable other git plugin for safety (it doesn't matter but try to avoid conflict)
- sync repo in fit
- populate/move files to vault from old vault/folder => it automatically sync to repo
- create empty vault in android phone. <<< CHANGED >>>
- Dont copy folders from PC and Dont use git plugin => it may cause "Unable to sync - if you are not connected to the internet, ... error" <<< NEW >>>>_
- configure fit in android <<< NEW >>>>
- Sync and Enjoy
Unforunately, for me - that isn't working. It seems like Fit can't handle some specific aspect of the git logs... which is a shame, becuase it was far easier and more convenient to setup than Git on Android at least :/
sadly
I figured out what the problem was. The folder .obsidian should be added to .gitignore because it breaks the plugin.
@IwantHAPPINESS Tried it, didn't work. Error message still appears. The folder does not exist on the remote repo and the local .gitignore is definitely correct.
Same. Do you more exact steps?
On Wed, Oct 30, 2024, 1:28 PM Philipp Bauer @.***> wrote:
@IwantHAPPINESS https://github.com/IwantHAPPINESS Tried it, didn't work. Error message still appears. The folder does not exist on the remote repo and the local .gitignore is definitely correct.
— Reply to this email directly, view it on GitHub https://github.com/joshuakto/fit/issues/12#issuecomment-2447883222, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA22ER4LFUXUVPS7WH6S6EDZ6EJMJAVCNFSM6AAAAABF4W2VYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBXHA4DGMRSGI . You are receiving this because you commented.Message ID: @.***>
@ciriousjoker have you tried to create a new repository?
How did I do it :
-
I deleted the old repository and also deleted the vault on the phone and the folder
.giton pc. -
Then I created a new repository and linked it to the local one on the PC.
-
I created a new vault and also re-installed the plugin, added a token.
And everything worked for me.
This is what my :
.obsidian/
The only problem is that you have to re-configure everything on each device.
Stale issue message
This isn't stale. It still happens, there just isn't any information the community can provide without specific instructions.
I noticed some of the error messages are not treated. And the "Unable to sync - if you are not connected to the internet..." is a default message for when Fit does not know what happened. For me, it was a file named with uppercase in my Windows and lowercase in my Android. The github repo had both (as 2 different files, one uppercase, one lowercase) but Fit could not manage the conflict. I removed one of them from github and it fixed it for me.
Just delete the .obsidian folder. I noticed that in this folder are the fit settings on the PC and when loading the plugin on the phone, its settings break`
For what it's worth, in my case the iCloud stored Obsidian vault on iPad didn't work with Fit. I created a new vault locally and then it synced as expected. Maybe this information will help
Stale issue message
Not solved.