Get rid of "examples" #110
Replies: 26 comments
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-08-10 14:07:54] Try adding in the
Remember this will be overwritten if setup is run again. Once restarted you can delete the examples and they will never show up again. Better examples management is definitely something to be reviewed (egeoffrey/egeoffrey-controller#19)
|
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-11 07:35:55] Some additional info. When you use "SSH" to approach eGeoffrey the ".env" file does not show up. When you use "SSH" go to the "egeoffrey" directory and "sudo nano .env" will bring you where you need to be. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-11 07:42:49] I did what you advised. We addressed under "back-up" the fact that after reloading a back-up a part of the system (menu structure) was gone. It will fore sure still reside somewhere bur I have no clue how to access that page. Help! P.S. I am waiting until you react to be able to answer questions from you. My work is put on hold. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-08-11 11:14:25]
Makes sense since dotted files are usually handled as hidden by unix OS, you may not see them with a "ls"
A few things to try:
Of course options 3 and 4 makes sense if your configuration file is there as I expect. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-11 11:45:28] @user2684 I will restore the back-up I created of my new system with the control page first. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-08-11 11:53:02]
That's completely unexpected, if the pages were saved correctly the files must be there, the whole configuration is flat and based on files which are in a dummy way just read and pushed to mqtt |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-11 12:07:32] My back-up does not contain the right pages and menu. Also the sensors are not available. One should learn from his mistakes. Main lesson is to have the right back-up procedure and frequency in place. Second lesson there are no problems only challenges. Third lesson rehearsal supports learning. I am going to do it all over again. First of all getting rid of the example stuff. On a second raspi I have the examples. Start with a clean menu structure and build that first. Last lesson: documentation is SO IMPORTANT. Should I perform your points 3 and 4 first or should I just go ahead? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-11 15:21:14] Did a new install. Followed your advice to get rid of the "example stuff". It works. Everything is gone, also after stop, start. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-08-28 09:51:10] @eporocrail let me pick your brain on this topic since I'm struggling to find a solution which is effective but does not require too much refactoring. A few constraints first:
Given the constraints above I am evaluating the following approach:
Any thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-28 10:02:43] @user2684 As you put it I would do the three things you propose together: To me it is not clear why it needs deleted before uninstalling a package. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-29 08:22:01] @user2684 |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-29 09:48:33] I meant : Try adding in the .env file the following and restart eGeoffrey (https://developer.egeoffrey.com/learn/components/controller/#advanced-settings EGEOFFREY_CONFIG_ACCEPT_DEFAULTS=0 |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-08-30 15:25:03] Thanks for the feedback so to summarize:
Sounds reasonable? |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-30 15:36:28] I think no wish left. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-09-04 19:09:04] This is now addressed in v1.3-7 (development). I ended up with the following:
How does it look like? |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-09-04 19:54:15] @user2684 |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-09-19 12:37:23] Added to the documentation: https://docs.egeoffrey.com/configure/examples/ |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-09-19 13:31:52] @user2684 |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-09-22 11:35:19] I am trying to create a stand-alone local system. I did away with all examples (took some time). Also edited .env. Yesterday it was running OK. Today no Mqtt traffic in both directions. Did an update. All example stuff was there again. Would it be possible to create a way to do handle examples the other way around: standard no examples and when the user requires it the examples are added (after a selection and followed by an update?) |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-09-22 12:06:02] The other and I suppose more realistic approach would be to finish the system and when ready than do away with the example stuff. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-09-25 14:44:41] @eporocrail said in Get rid of "examples":
This should not happen. If EGEOFFREY_CONFIG_ACCEPT_DEFAULTS=0 is set the only thing which makes this setting going away is running "setup" again. Updates and restart should not have an impact. Are you sure EGEOFFREY_CONFIG_ACCEPT_DEFAULTS has been set correctly? Still I understand examples are not yet managed smoothly. Let me try to rethink a better approach (egeoffrey/egeoffrey-controller#19) . Unfortunately, since this should be a setting of controller/config and controller/config is supposed to push configurations out, I have no easy way to configure the configurator.
|
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-09-30 16:52:02] I did a clean install on a separate raspi to create an other test system. I inserted the test system and did away with the example stuff. Also edited .env. Example stuff keeps popping-up. FYI. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-09-30 17:06:59] Ok thanks for the feedback, an additional reason to review entirely the process for managing the examples |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-10-05 09:24:32] I tried several times to delete a page I created for testing purposes. Deleting via the GUI does not work. Then I tried via advanced editor. After closing the browser and opening again in advanced editor the page was still there. I have the same experience with some rules. But it is not consistent. Some things are deleted, other things are not. That relates to example elements as well as to user created elements. |
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-10-06 11:40:51] Ok, let me keep track with egeoffrey/egeoffrey-gui#77 and I'll give it a in depth look during the weekend. Thanks!
|
Beta Was this translation helpful? Give feedback.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-08-08 15:32:51]
@user2684
I am busy creating the more or less end version of my weather station. To have a better overview I try to get rid of ALL example stuff. I deleted everything dealing with "example" via the GUI. After a while all "example stuff" pops-up again.
How can I get rid of those ..... example stuff?
Beta Was this translation helpful? Give feedback.
All reactions