-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Unknown Error' cropping up on local MAMP setup #165
Comments
Hey @MattAppleton, Have you tried enabling the Git Logs in the GitSync plugin? Enable "Log Git Commands" under the That should provide more information about what the actual issue is. That Unknown error is of course not enough to understand what's going on. You should then be able to see the logs from the admin at |
Ill check the logs now I have a sec, and on another machine in case it is a local / Catalina issue…
Matt
… On 17 Mar 2020, at 19:41, Djamil Legato ***@***.***> wrote:
Hey @MattAppleton <https://github.com/MattAppleton>,
Have you tried enabling the Git Logs in the GitSync plugin? Enable "Log Git Commands" under the
"Advanced Git Settings" section.
That should provide more information about what the actual issue is. That Unknown error is of course not enough to understand what's going on.
You should then be able to see the logs from the admin at /admin/tools/logs
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#165 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABQBBHUM5TUUNGFJEY42DR3RH7G5HANCNFSM4LNKS5NA>.
|
I get
|
That's all? Bizarre, I would have expected more logs. Have you tried saving a Page or something to trigger a sync and check the logs again? |
Log Git commands is 'enabled' in the admin and git-sync.yaml. But I am stuck in a loop setting up Git Sync on the local machine. If I use the wizard to fill in the Git credentials it keeps sending me back to 'Step 1'... |
If I hit 'save' on the plugin page it sends me back to beginning of the wizard... |
Wondering what the correct procedure for erasing / starting again is with gitsync? It feels like the plugin install is somehow compromised on the local / MAMP version. The live admin syncs fine :) |
Yeah that's the kinda log I was expecting to see. You can reset your local by deleting the plugin itself, deleting the I am also running macOS Catalina and haven't had this issue before, however I do not use MAMP, I used to use MAMP in the past but it has caused many issues for me so I just follow our Grav guide (https://getgrav.org/blog/macos-catalina-apache-multiple-php-versions) |
OK, thanks, will try that... |
I believe you have to re-setup the webhook now, do you have the webhook id on gitsync and the websecret matching on GitHub ? |
I will set them up again... |
Web Hook Secret should be empty I believe? So not sure what
is about? |
Ugh. Deleted on local and remote, only the remote lets me reinstall and setup the plugin, even after setting up new repo and web hook... Local site still giving the unknown error... |
I am wondering if it's just MAMP causing this, unfortunately I haven't been using MAMP in a long time but I remember having had issues with it for other things in the past. |
me too - -or possibly Little Snitch... Ill try two more things - simply copying down remote to local and a non-MAMP option... |
Seems this error is something to do with the newest version of the plugin... just testing further, but on another site I was able to successfully gitsync via MAMP, until we updated GRAV... |
Hello @w00fz I can confirm the 2.05 plugin version does NOT encounter the 'unknown error'! |
I can confirm (on two sites now) — all of the other core plugins and GRAV itself can be updated without issue, but updating the git-sync breaks MAMP compatibility. v2.05 gitsync is running smoothly still... |
Hey @MattAppleton , Wondering if you managed to resolve the issue somehow or if it's still a problem? I have pushed a few changes and am curious to know if that helps, you can try and download the plugin as 'develop' from https://github.com/trilbymedia/grav-plugin-git-sync/archive/develop.zip Also, what PHP version are you running? |
Hi hi @w00fz Apologies for slug-like reply. As before, upgrading my local MAMP-hosted Grav to git-sync 2.1.0 breaks git-sync. I am running php 7.3.1... and can confirm this update definitely breaks. |
Updating MAMP PHP to 7.4.2 doesn't help. |
If I try adding your new plugin... `/Volumes/X8 1TB/Dropbox (Modern Activity)/GRAV/GOOD projects/user/plugins/git-sync/classes/GitSync.php
Arguments |
reverting back to 2.0.5 works :) |
Sorry for the delay here @MattAppleton , I am assuming this is resolved right? That line about the undefined index no_user was changed with an Going to close the issue but please feel free to ping again or reopen if this is still a problem. |
Hi there — I have a site that has been working beautifully with local (MAMP folder) / remote syncing for a year or so, but recently I am getting an 'unknown error' when trying to sync. I f I uninstall and reinstall the plugin, I still get this error, even when doing a basic 'test connection'
Could this be something related to Catalina security or MAMP updates? Anyone else seeing this error?
Syncing from the remote site works fine.
The text was updated successfully, but these errors were encountered: