grav-plugin-admin icon indicating copy to clipboard operation
grav-plugin-admin copied to clipboard

Save Failed: fatal: empty ident name (for ) not allowed

Open Ribero opened this issue 3 years ago • 11 comments

Grav v1.7.1 - Admin v1.10.1

When I try to change the publication status of a page I get this error: image

At then end the page is correctly Published or not

Ribero avatar Jan 21 '21 17:01 Ribero

I cannot reproduce. Could be a field or a plugin causing this?

mahagr avatar Jan 21 '21 18:01 mahagr

May be, but where to start ? The plugins I use are the one related to learn2-gitsync + nextgen editor + admin revision.

Ribero avatar Jan 21 '21 18:01 Ribero

Start by searching ident name from the page / blueprints. It is supposed to be empty?

mahagr avatar Jan 21 '21 19:01 mahagr

I removed the support for multiple languages (in the main configuration) and the problem disappeared.

Ribero avatar Jan 25 '21 20:01 Ribero

If you enable debugger (use clockwork and install it to your browser), it should have a tab for exceptions, which should have a backtrace where that error happens.

mahagr avatar Jan 26 '21 08:01 mahagr

@Ribero Check if you can still reproduce this error, hopefully in a minimal installation and instructions, thanks!

mahagr avatar Apr 23 '21 15:04 mahagr

Will try to test it asap.

Ribero avatar Apr 23 '21 16:04 Ribero

Hi at all

I had the same issue. The error message is not thrown by Admin, it's from the Grav GitSync plugin. Typically, GitSync pushes changes to the repository by default. I had to configure my SSH-Private-Key in the GitSync plugin configuration page. After that, the error message disappeared for all changes.

I hope, my finding helps you.

0x01af avatar May 28 '21 15:05 0x01af

I get this issue too, with the container. Tried generating the ssh-keys as noted by @0x01af and having the path to it listed in the GitSync config, same issue.

boomam avatar Jun 21 '22 00:06 boomam

Did anyone find a solution yet? I also have the same problem. I used a clean installation from the woo template.

JasperCiti avatar Aug 05 '22 15:08 JasperCiti

Found a fix that worked for me.

I'm running in a docker container, and I believe the issue is the git user is not picked up because the user running the service inside the container does not have a .gitconfig.

Rather than trying to force the user inside the container to have a .gitconfig, I went to /admin/plugins/git-sync and set Commits Author to Use GitSync Committer Name, which is configured on the same page with the default value GitSync. Side note; I did NOT use a Private SSH Key in the settings (left blank).

nemchik avatar Aug 23 '22 21:08 nemchik