NS8-App Mayhem: A Modules Dev thread on multiple modules issues faced

Tested and no problems to report.

There are functions that can come in handy for support requests in the forum (json prettifier…) or for some quick tasks (IP calculator, crontab generator…), but in my opinion it is of limited use for SMB (sporadic use, same task quickly done with an online search/tool), but maybe developers use it more often.

3 Likes

Adding these 2 here so that i may remember.

Implement form builder and survey manager apps for nethserver 8

Potential contenders.

  1. Formbricks
  2. Heyforms
  3. OpnForm - OpnForm
2 Likes

How about https://community.limesurvey.org/

It had some attention in the past and could easily be installed into an iBay in the old days.

thats also a wonderful option, would be considered as well

thank you

Hi All, its been a Journey, 21 Apps later, with lost of experience gained.

What other Apps would you like to see on NS8

2 Likes

Over the Last 2 Months, We have added a significant Amount of new Apps onto the Nethserver 8 portfolio, and its been an interesting Journey.

There Apps i beleive Deserve their Won full Fledged Announcement, While Others, Equally robust and Powerful, i don’t see the need for them to Have such an announcement.

its with this reason, I will work to Have all the Apps in the Build Process Documented here Again, for Better Tracking, as well as Every time a new small app is completed, we Announce it here in a small way.
All Apps are also tracked here View 1 · Nethserver (github.com)
Some of them we have completed, and need very thorough testing, others are weired, completed, running well, but we dont see anything on interface… many weired problems we have encountered i tell you.

what do you think @alefattorini

Thanks All for all the support given

2 Likes

HEllo @LayLow

Limesurvey is now available for testing. still WIP

add-module ghcr.io/geniusdynamics/limesurvey:0.0.1-alpha.1 1

you can play around with it, suggest any feedback or issues you might face.

Expect multiple versions before we get to beta release, as this is the initial working version.

4 Likes

I would like to see couchdb as an module if possible, since i´m failing to do it myself. I can´t wrap my head around the concept of modules in NS8. I´ve succeded in just running the thing as a simple podman container with
$ podman run --name couchdb-for-ols --rm -dit -e COUCHDB_USER=${username} -e COUCHDB_PASSWORD=${password} -v ${PWD}/couchdb-data:/opt/couchdb/data -v ${PWD}/couchdb-etc:/opt/couchdb/etc/local.d -p 127.0.0.1:5984:5984 couchdb
and adding a https-route in the NS8 webui.

Can you recommend any tutorial how to create own modules? Haven´t had found a one which made me understand it.

1 Like

hello @Schnabeltierchen here are the dev docs
Home | NS8 dev manual

1 Like

Yes, already read those… But i had to say the slides from the scratchpad module were more helpful for displaying the concept of modules. But they lack the part for the integration of the module with nethserver, adding the “https-route automation” when setting up the app for example…
Including the backup-feature for modules from NS8 is a whole different thing to understand.
Tutorials for NS8 modules are rarely and i hadn´t had any luck since in this search…

1 Like

Ill take this a challenge and Hopefully Make a Video, in Livestream Format. may help others joining the community

2 Likes

Maybe this thread is helpful as it goes through the creation of a repo to create a firebird app using a template:

I’m sorry, a complete howto is still WIP…

We Now have it as a Module, for anyone who wants to test: Release 1.0.0-beta1 · geniusdynamics/ns8-couchdb

Announcement coming soon, and Thank you @Schnabeltierchen

1 Like

Great work, CouchDB seems working :+1:

#  Check DBs:
[root@node ~]# curl -X GET 'http://couchadmin:secret@couchdb.ns8rockytest2.com/_all_dbs'
["_replicator","_users"]

# Create DB:
[root@node ~]# curl -X PUT 'http://couchadmin:secret@couchdb.ns8rockytest2.com/baseball'
{"ok":true}

# Check DBs and show the new one:
[root@node ~]# curl -X GET 'http://couchadmin:secret@couchdb.ns8rockytest2.com/_all_dbs'
["_replicator","_users","baseball"]

Does the “Run Configure Script” button configure the module like the “Save” button?

After Setting Up CouchDB, for users of Obsidian, there are some setup that must be Run, after the server is already running, Other users can Do it as well.

These are commands, that can also be run directly in the Database, however to make things simple, we have implemented a one click button that executes these commands.

1 Like

I think you can try out the module generator. Even though not perfect but soon will perfect it soon. You can try it
[GitHub - geniusdynamics/ns8-module-generator: NEthserver 8 Modules generator, that takes an existing compose yaml file and converts it into a nethserver 8 module](https://Module Generator)

2 Likes

So since Monday we embarked on A Journey to bring All the 40+ Apps on our Published repo to Production status, and to the Latest versions, While making sure that those in use, do not break during Updates.

It has been a revealing Journey. While one might think its Just a question of Update Docker Tag, then Publish, its far from the Truth.

We have to Analyze the Releases of the Softwares, some have breaking changes, while others removed and introduced new env variables and other changed how they are named and utilized.

We then Proceed to Update The Apps One By One to the Latest versions.

FOr those with Variations and breaking changes, We have to implement ways to handle migrations gracefully through the stored env files.

We Also Embarked on Implementing Full Featured Backup and Restore functionalities for All the Apps, Making sure pgsql, and Mysql apps have their Defined different Update and Install Scenarios handled.

After Having All the Apps on the altest release versions, we then Embark on Testing the Apps.

We have 5 Test Scenarios that Must be Handled before we can Release the Application

Fresh Install
Backup working
InPlace Backup Restore
New Backup Restore
Test Upgrade Existing(for used versions)

After All the Above Conditions have been Met, We then Proceed to Releasing the Application.

I wish it was Easy, and IF anyone wants to Test, you are welcome to Do so,

We are Outlining the Progress Here: Apps Under Testing

We Are Happy to Announce that we have Updated All the Listed Apps under Software Centre, and I think some which were not yet Published, to the Latest versions.

As we Test the Application and Release them, with a tagged Release Version, Any Support Offered is greatly Appreciated, if you can test the Apps for Us and Ping us on Findings,

IF you have a Server you are not using, we can use to Test, We currently have 2 testing servers, and sometimes we tend to crash them Alot, and install, Uninstall then reinstall, because of testing can be cumbersome Due to this.

Thank you for all those Who Have Supported us over the period in Our Endeavour.

We hope to Ahve All the 80+ Nethserver Apps Built by Genius Dynamics Available on the software centre and Ready to Install, by the End of the Month.

And Have the Additional Business Centric, and Developer Focused Ones Added onto the Platform as well,

This time Around, Much more Easily due to Our Module Generator.

We have Also been working on Building a Module Updater Automation script As well, that would Make it Easier to Update NS8 App, with Learnings from Our current Mishaps and efforts.

Thank you All.

3 Likes

Thanks Martin, taking a look at software center, most apps still have “Latest version Not available”. I guess after the next repo sync cycle, they all should have the correct versions? Do existing installed apps need to be updated?

TIA

ps. Refreshing the repos in software center shows:

1 Like

I have not released them yet, because we need to do testing for each one of them, it must install without errors,

configure without errors, and be able to login to app
backup and retore without errors, to qualify…

those are what needs to happen

1 Like

Top, thanks!