-
Notifications
You must be signed in to change notification settings - Fork 30
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
Problems with project function in adapter 2.0.0 #117
Comments
Same issue here. When comitting, I get the error:
although it is. My second NR instance v1.1.2 is working. Log shows nothing also on debug setting |
Any news? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. |
The problem still exists!!!! (see here in German - in iobroker Forum) |
When I manually create the .gitconfig file under the iobroker user, the feature seems to work fine. I'm not sure why it has been working fine in previous versions. |
So for all - with the great help of @bjoernbusch this issue can closed - with the following workarround: Here a short description how a .gitconfig file can be created.
Many thanks to you @bjoernb. I waited for this solution since several months - and that someone comprehends this issue. .gitconfig file looks like this
|
I reopened - as I guess that the project function should be fixed in general - even if the solution above works perfect. |
How we should fix it? I'm not sure that it makes sense that we initialize a git thing, or!? Anyone has a proposal? |
I do not really know what is going wrong but on a bare metal Node-Red when creating a project following happens:
So usually no intervention should be needed. |
The solution is in my opinion "simple" - so I do not know if it simple or not. ;) Before version 2 the git configuration seems to be not relevant or a standard config was used - whatever this means (empty name and email). Since version 2 it is necessary to specify git user name and email. If modifying the The solution should work when the dialogue is filled out. So with version 2 and activation of the project function caused the following error:
So I switched to the global dialog and filled out name and email - but the problem still remains until @bjoernbusch helped me. :) And the solution should be:
will be executed or the appropiate .gitconfig file (see posting 3rd Feb.) in the /home/iobroker directory is created. At the moment filling out the dialogue - is either not executed or does not perform the appropiate actions. |
Still exists. Synology DS918+, iobroker as Docker with this adapter. #117 (comment) helped me, I used UI to create a "bash terminal" and then run the three commands. After that, it worked fine. |
Ok I found the config.users.json. In iobroker it seems that the file is located under: It seems that the git entries are empty in this file. I tried to recreate this error, but seems not be possible, if it works once. So solution may be is either executing the commands when the dialogue is opened or to change the git settings in the config.users.json file under /opt/iobroker/iobroker-data/node-red |
SI in fact would be more a topic for the readme on "how to set up manually"? |
Hmm I do not really understand - why it is not possible to execute both commands when the dialogue is filled out by the user or the .gitconfig file is created. In this case in my opinion it would be the best way - if a user activates the project function in the adapters config Both fields could be made available in the adapter config page as well Then if the adapter config is committed both github commands can be executed: git config --global user.email "mail@maildomain" In this case the dialogue in NodeRed remains still empty - but to use the project function without errors the necessary |
Since update of the adapter, it seems that the git settings are no longer available and I cannot write specific states of my flows.
A dialogue says that an unexpected error has occurred and I need to specify the git user settings in node red globally.
Screenshots are available in my thread in the iobroker forum:
Node-Red 2.0.0 - keine Systemobjekte u. andere Probleme
The text was updated successfully, but these errors were encountered: