Nice dashboard!
Nice one @jgjimenezs
Greetings, brothers, Iām refactoring API calls in my code, reducing lines of code, and reusing functions. Iāll soon update the GitHub repo and upload the cleaner source code.
Iāve worked in the software center, core software, and smarthost, changing app functions.
I am updating the NS8 Core updates in Software Core in my app, but when processing the core1 instance, it tells me it does not exist. I tested it with traefik1 and it updated without any problem. What does the core1 question refer to or is it not updated with update-module?
{ācodeā:200,ādataā:{āerrorā:"Traceback (most recent call last):\n File "/var/lib/nethserver/cluster/actions/update-module/50update", line 40, in \u003cmodule\u003e\n ping_errors = agent.tasks.runp_brief([{"agent_id": f"module/{mid}", "action": "list-actions"} for mid in instances],\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/local/agent/pypkg/agent/tasks/run.py", line 61, in runp_brief\n results = asyncio.run(_runp(tasks, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib64/python3.11/asyncio/runners.py", line 190, in run\n return runner.run(main)\n ^^^^^^^^^^^^^^^^\n File "/usr/lib64/python3.11/asyncio/runners.py", line 118, in run\n return self._loop.run_until_complete(task)\n
Done @giacomo the cores are for the nodes, and the rest are modules. Solved, applying it to my appās source code.
Happy weekend! Uploading the source code to GitHub. I still need to fine-tune some processes for installing and uninstalling a module on a node, and the progress of the task. Iām a little slow due to my fatherās health, but Iām active on the app. Thanks to everyone for your support.
Iāll compile an apk for you all to try.
I have performed some installation tests from an API client and some without problems and I have uninstalled it from the web and reinstalled to see how to implement the installation progress from the app but it has given me an error, is there a way to clean that installation that was left as a ghost and see why it gives me an error when reinstalling Dokuwiki?
dokuwiki error
Iām using from the cluster api
āactionā: āadd-moduleā,
ādataā: {āimageā: ā$source:$versionā, ānodeā: nodeId},
Greetings, already perfecting the message during the installation and uninstallation of an app, now evaluate the exit_code to handle errors
Brothers, I have adapted the installation and uninstallation message. It is necessary to implement the maintenance of a list of nodes where an app can be installed and nodes where it should be uninstalled. If there are 2 nodes and I install on one, a menu should be displayed indicating the node available to install that app, as well as when uninstalling it.
Try the apk and tell me how it goes.
Good morning, my brothers and sisters, God bless you always. Today Iāll start the TLS certificates module and the audit, but @giacomo @mrmarkuz Iād like to know the endpoint for tracking the audits. Iām searching on GitHub, but Iām slow.
thanks.
Is it normal to be able to install more than one module on a node? I just implemented the ability to uninstall if more than one module is installed on the same node.
When I want to upload a certificate, I upload the key first, and then the certificate should only allow .key and .cert files.
.cert
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
.key
-----BEGIN PRIVATE KEY----- or -----BEGIN RSA PRIVATE KEY-----
-----END PRIVATE KEY----- or -----END RSA PRIVATE KEY-----
I have updated the APK in this revision so you can try uninstalling the apps.
its very normal to have more than one app on a node, different reasons⦠but being able to uninstall is great.
Itās saved in timescaledb, see GitHub - NethServer/ns8-samba: NS8 Samba configuration
yes, but the same one?
I found it strange to be able to install the same app again, webtop1 and webtop2, for example, on the same node.
Yes, in NS8 itās possible to install more instances of the same app on one node.
Itās only possible if the app doesnāt open a dedicated port. For example mail needs port 25 so only 1 instance on 1 node is allowed.
Sorry, there are samba audits and cluster-admin audits, see API server | NS8 dev manual