xpipe-io / xpipe

Your entire server infrastructure at your fingertips
https://xpipe.io
Apache License 2.0
3.52k stars 91 forks source link

Synchronization to gitea stopped working #343

Closed carlbomsdata closed 1 month ago

carlbomsdata commented 2 months ago

Hi,

After upgrading to latest version of xpipe the Synchronization stopped working to my gitea repo. Before it worked using http and/or ssh url.

Anyone experiencing the same?

crschnick commented 2 months ago

From which version did you upgrade?

Is there any error message shown? Or does it just not sync and save anything?

carlbomsdata commented 2 months ago

` Unable to fetch from remote repository http://100.0.0.20:3002/lemling/xpipe-connections.git

Please make sure that:

There is not network issue on my lan. Also the repo works outside of xpipe.

carlbomsdata commented 2 months ago

From which version did you upgrade?

Is there any error message shown? Or does it just not sync and save anything?

Sorry i cannot remember which version :/ But i have another computer running xpipe (11.1) and all works :) Ill try reinstall the app, one moment

crschnick commented 2 months ago

The only thing that was changed were the URL rules with regards to a .git suffix and ending slash. Before it tried to add a .git suffix automaticallybut that broke some URLs so this is no longer done. Maybe you can edit the URL in the settings menu. There is also a test button there now.

crschnick commented 2 months ago

Ill try reinstall the app, one moment

Any updates on this?

carlbomsdata commented 2 months ago

Ill try reinstall the app, one moment

Any updates on this?

I tied on a fresh windows 11 vm. After installing 11.3; under Syncronisation I ticked the radio button, entered a git url using http, clicked on Test - which throws the error above.

But when I restarted the application it seem to have cloned the repo.

crschnick commented 2 months ago

The test button essentially runs git ls-remote <url>. Does that work for you in a terminal?

crschnick commented 2 months ago

So I tested with a gitea setup and didn't encounter any issues. Not sure why it happens for you

carlbomsdata commented 2 months ago

So I tested with a gitea setup and didn't encounter any issues. Not sure why it happens for you

It works for me also :) ┌──(tobiascarlbomTobiass-MacBook-Air)-[~] └─$ git ls-remote http://192.168.0.20:3002/lemling/xpipe-connections.git Username for 'http://192.168.0.20:3002': lemling Password for 'http://lemling@192.168.0.20:3002': 607faecbf074cb5462a85c189f82ae052f2e7621 HEAD 607faecbf074cb5462a85c189f82ae052f2e7621 refs/heads/main

crschnick commented 2 months ago

You said that the test button in xpipe fails for you with this repo. Is that still the case on your Windows VM? If so, can you post the full error message? There should be the original error printed below the common troubleshooting steps in the error handler dialog

crschnick commented 1 month ago

Alright so there were multiple fixes and adjustments for the git sync in xpipe 12 to hopefully improve this situation. I think this can be closed.