Comments (12)
i'm not about to make you learn more about windows, that's already enough of a burden on me lol; i'm gonna try to make my own plugin and see how it goes i think, needed the experience anyway
from kirby-git-content.
Hi, can you try to run the commit via CLI manually? Do you get any errors? Do you have any other plugins installed which also hook into the page.update hook?
from kirby-git-content.
I don't, and committing via CLI works with no errors as long as i haven't tried to commit via the panel first (bc of the aforementioned lock file issue). thanks for the quick response, by the way!
from kirby-git-content.
the error looks like this:
fatal: Unable to create '/mnt/f/web/appsite/content/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
from kirby-git-content.
That’s strange. It seems to me that for some reason the commit does not go through properly. Do you see any pending git process? Any Logfiles?
Did you try to set thathoff.git-content.displayErrors
to true?
from kirby-git-content.
I did, the same error showed up in a dialog box in the panel
from kirby-git-content.
in the logs there's a line that looks like this, as well:
[Mon Apr 26 14:58:59.406085 2021] [php7:error] [pid 61044:tid 1856] [client ::1:49190] PHP Fatal error: Maximum execution time of 120 seconds exceeded in F:\\web\\appsitePlusContent\\vendor\\coyl\\git\\src\\Coyl\\Git\\Console.php on line 93, referer: http://localhost/panel/pages/documentation+channel-adjustment
from kirby-git-content.
that's the only line with git
in it other than the 2 errors before then from me not setting the executable path yet.
from kirby-git-content.
My guess is that something blocks the commit. I would try
- to check if another process using the same git repo (eg. the IDE)
- try to find out what the git process does which is started by this plugin
- check if something is different when this plugin runs a commit vs. you running a commit via cli (eg. different git binary, different user, etc.)
My Windows knowledge is very basic so I have no ideas how to debug this issue but I hope that helps.
from kirby-git-content.
the problem did seem to be running on windows, ran on wsl and it was fine
from kirby-git-content.
Actually I’ve never testet the plugin with windows other then on WSL. Thanks for the update…
from kirby-git-content.
This might be fixed in v5 with the new git library, so I’m closing this here for now.
from kirby-git-content.
Related Issues (20)
- Use of functions deprecated in Kirby v4 HOT 4
- Custom Path and some other options not settable HOT 2
- Call to a member function format() on bool HOT 1
- git identity not settable on shared hosting HOT 5
- Add buttons to revert/drop commits HOT 1
- SSH key issues with dokku HOT 3
- Is it normal to end up with all sorts of uncommitted `.lock` file deletes? HOT 3
- Add info about .lock files into README
- plugin possibly causes internal server errors with certain characters HOT 5
- switch to original git PHP lib (kbjr/Git) HOT 2
- Catch Error when working tree is clean HOT 1
- Add a panel button to push to remote HOT 3
- Array to string conversion error with Kirby 3.6 and PHP 8.0 HOT 8
- Return status for KirbyGitHelper::push() and ::pull() HOT 1
- Working fine locally but not committing when on public server HOT 5
- Only add files of changed page
- Working locally but not on server HOT 4
- Problems with Kirby 3.8.0-rc1 when installing without composer HOT 23
- error: unknown option `end-of-options' HOT 9
- 'KirbyGitHelper::$git is deprecated' error on saving HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirby-git-content.