Skip to content

Auto-commit throwing many errors #11322

@edalzell

Description

@edalzell

Bug description

Seeing errors in git feature.

Strange thing is that everything seems to be working.

Should these be suppressed or is there something actually wrong here?

How to reproduce

Not sure, sorry.

Logs

Request URL: https://www.zakat.org
Request data: []
Error: {"message":"Process Class: Git\nCommand: git add /home/forge/www.zakat.org/config /home/forge/www.zakat.org/content /home/forge/www.zakat.org/users /home/forge/www.zakat.org/resources/blueprints /home/forge/www.zakat.org/resources/fieldsets /home/forge/www.zakat.org/resources/forms /home/forge/www.zakat.org/resources/users /home/forge/www.zakat.org/resources/preferences.yaml /home/forge/www.zakat.org/resources/sites.yaml /home/forge/www.zakat.org/storage/revisions\nError: fatal: Unable to create '/home/forge/www.zakat.org/.git/index.lock': File exists.\n\nAnother git process seems to be running in this repository, e.g.\nan editor opened by 'git commit'. Please make sure all processes\nare terminated then try again. If it still fails, a git process\nmay have crashed in this repository earlier:\nremove the file manually to continue.","context":[],"level":400,"level_name":"ERROR","channel":"production","datetime":"2025-01-07T11:47:08.451290-08:00","extra":[]}
Request URL: https://www.zakat.org
Request data: []
Error: {"message":"Process Class: Git\nCommand: git -c "user.name=Asrar Jaber" -c "user.email=asrar.j@zakat.org" commit -m "Content saved [BOT]"\nError: fatal: Unable to create '/home/forge/www.zakat.org/.git/index.lock': File exists.\n\nAnother git process seems to be running in this repository, e.g.\nan editor opened by 'git commit'. Please make sure all processes\nare terminated then try again. If it still fails, a git process\nmay have crashed in this repository earlier:\nremove the file manually to continue.","context":[],"level":400,"level_name":"ERROR","channel":"production","datetime":"2025-01-07T11:47:09.067227-08:00","extra":[]}
Request URL: https://www.zakat.org
Request data: []
Error: {"message":"Process Class: Git\nCommand: 'git' 'push' '--porcelain'\nError: error: failed to push some refs to 'git@github.com:transformstudios/zakat-v3'","context":[],"level":400,"level_name":"ERROR","channel":"production","datetime":"2025-01-07T11:47:10.148766-08:00","extra":[]}


### Environment

```yaml
Environment
Application Name: Zakat Foundation of America
Laravel Version: 11.37.0
PHP Version: 8.3.15
Composer Version: 2.8.3
Environment: local
Debug Mode: ENABLED
URL: zakat.test
Maintenance Mode: OFF
Timezone: America/Los_Angeles
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: NOT CACHED

Drivers
Broadcasting: null
Cache: file
Database: mysql
Logs: stack / daily
Mail: smtp
Queue: sync
Session: file

Livewire
Livewire: v3.5.18

Statamic
Addons: 13
Sites: 4 (zakat.org (EN), zakat.org (AR), zfinstitute.com (ZFI), zakat.org (TR))
Stache Watcher: Disabled
Static Caching: Disabled
Version: 5.45.0 PRO

Statamic Addons
aryehraber/statamic-captcha: 1.14.0
edalzell/forma: 3.0.1
jacksleight/statamic-bard-mutator: 2.3.1
jacksleight/statamic-distill: 0.8.2
jonassiewertsen/statamic-livewire: 3.8.1
statamic-rad-pack/runway: 7.13.4
statamic/seo-pro: 6.5.0
transformstudios/events: 5.4.4
transformstudios/front: 3.0.1
transformstudios/github: dev-main
transformstudios/neon: dev-main
transformstudios/review: 5.0
transformstudios/simple: 5.10.2

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions