Giter Club home page Giter Club logo

Comments (6)

vrosu avatar vrosu commented on July 17, 2024

Thanks for reporting this @jlagares.
We’d need to have the entries around the time when you try to enable a Git thing from ApplicationLog (accessible via composer) and ErrorLog.log (which indeed you need to retrieve via a support ticket as it’s not exposed in composer).
I am quite curious to see why the Git things are not running, as I have not observed that before.

from thingworx-gitbackup-extension.

jlagares avatar jlagares commented on July 17, 2024

Thanks, ticket opened.
In the meantime I'm re creating all gitthings again, removed all repo content manually (as I could not via service) and checking again.
One question is, can 2 Git Things have the same repo folder ? As we have several and all point to the same folder but refer to different github branches, I'm thinking that this might confuse the thingworx git extension.

from thingworx-gitbackup-extension.

vrosu avatar vrosu commented on July 17, 2024

Two Git things can use the same File Repository, but mandatory they need to be placed in two different sub-folders of that File Repository. The extension does not verify if there's already an existing local Git repository in the folder you specified, and yes, that can be a source of this issue (I think).

from thingworx-gitbackup-extension.

vrosu avatar vrosu commented on July 17, 2024

For transparency, in the error log we observed two interesting errors:

  1. Unable to initialize thing [redacted], Cannot lock /ThingworxStorage/repository/GitRepository/[redacted]/.git/config. Ensure that no other process has an open file handle on the lock file /ThingworxStorage/repository/GitRepository/[redacted]/.git/config.lock, then you may delete the lock file and retry. This points into a file using that lock file - potentially two Git things created in the same folder can do this.
  2. Unable to initialize thing [redacted], null. This error does not have much context and I requested an ErrorLog with stack trace activated.

from thingworx-gitbackup-extension.

vrosu avatar vrosu commented on July 17, 2024

And another question: did this behavior started happening sudden, after working fine in the past? Or is this the first attempt of using the GitBackup extension ? Besides the log files, can you remember anything that changed in your system before this error started appearing?

from thingworx-gitbackup-extension.

jlagares avatar jlagares commented on July 17, 2024

It happened without noticing working correctly before. This has also happened in some dockers that I have, so whenever I see it there I'll send you the error Log.
The environment is shared by many people so no clue everything that happened.
I'll be working with Ilaria in the following weeks so I can keep you updated.

from thingworx-gitbackup-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.