NS8beta2 | MArtin: my experiences and suggestions for imporvements

Can we not make it a setting?

2 Likes

Well, if there’s going to be a timeout at all (and I think there should be), there has to be some kind of setting, either baked into the code or user-controllable. Baked into the code is OK as far as I’m concerned so long as it’s a reasonable length of time–I’m not completely sure what that would be, but surely no more than 24 hours. But I suspect people’s opinions are going to vary widely about what is “a reasonable length of time,” so a user-adjustable setting might be the better way to go.

NExtcloud User Mapping

image

As seen in this image, we had a challenge between nextcloud users created on AD/Ldap into nextcloud having that weired ID defined.

the issue became even more compunded, when we added SAML(OIDC) using the LLLNG Module whereby, the system now had 2 set of users.

I am curious, is that mapping going to be fixed in NS8 or is it going to remain the same.

DOes NS7 to NS8 Migration also support Nextcloud Migration.

from this: NethServer 7 migration — NS8 documentation

Or would NExtcloud Migration have other requirements?

This “just works”!

My 2 cents
Andy

So Both Nextcloud as well as the EMail would be migrated successfully to a new NS8 Server.

WOW, thats really going to be of huge help to me. been wanting to migrate a certain NExtcloud and MAil server running NS7 to another Node for 2 years…

What stopped you? IMAPsync has been available for a few years on NS7 now…
That would be mail,

Nextcloud is just DB & files…

Backup / Restore would also have worked!

Copy files and Export / Import DB would have been another way to move it over…

No reason for you putting it of for 2 years!

If it didn’t work before, there’s other issues, not mentionned here (yet)…

What won’t work is having Nextcloud data on source and target, and you wanting to merge both. A Migration will NOT do that, it’s not a migration. Migration is always to a new, clean box (In IT, at least. For Humans, migration entails “other” issues!)

My 2 cents
Andy

these are 2 separate servers with separate public ip, but upon migration, they are supposed to retain the same domains. cloud.domain for nextcloud, and webmail.domain for email as well as the same variances for the hostname.

Now my understanding so far of Imapsync, is that it will migrate to 2 seprate mail nodes operational.

how would imapsync work in this case, with the mail server, considering one has to be offlined, (DNS limitations)

how should the mx records be implemented to have both mail servers function with the same domain at the same time to have imapsync work for both.

so for both servers, a username and active domain account needs to work

  imapsync \
       --host1 test1.lamiral.info --user1 test1 --password1 secret1 \
       --host2 test2.lamiral.info --user2 test2 --password2 secret2

Thank goodness my AD server is running on a separate dedicated node, Not Even Sure if that would migrate to NS8 soon, i can always attempt, without the old one being offline

Hi @oneitonitram

IMAPsync syncs to a “different” server.

It can be used as an “offsite” backup of mail.
It can also be used to migrate a mail server, after migration, names are changed, DNS adapted, etc.

As your AD is already separate and is reachable for both, this would be actually easier!

For details, see the manual, there are a lot of options!

My 2 cents
Andy

so basically what youre saying is,

have a seprate domain MX records on the second server, then use imapsync to sync the data, then once the syn/migration has completed,

change the DNS records for the new server to the old domain, and remove the old domain components.

OK Noted, there cpuld still be uses for it elsewhere.

For this server, since 2024 is already around the conner, and NS8 is already reaching RC, hopefully a release will be ready before or by End Year, then On December,(where little traffic) i can work on the migration.

@oneitonitram

Who said it needs MX for migration?

Think small home server, having a full offline / offsite backup of your Gmail…
Why would any MX be needed for this scenario?

AFTER a successful sync, and you want to promote that server, you can (Then needs ports, MX, etc…)
You could also use IMAPsync as Bridgehead:

Use a IMAPsync wherever you need it to keep a copy of all accounts and maiil. This does not even need to use AD accounts (same named ones locally would do, IMAPsync does NOT transfer account information. When ready to move mail, just change the existing sync (source server) to new (target server).

This is VERY flexible, and simple to use!

My 2 cents
Andy

2 Likes

Right, filed here NethServer 8 · GitHub

1 Like

@davidep Is there something that can be done to this


When one clicks the Update Button, either the button becomes inactive, or to show something is already working,

Currently, we have a situation where one can click an item to be updated multiple times, while i have noticed there is not problem when this happenes, it is just a quality of life improvement.

Updated to NExtcloud 27.1.3 (Hub 6)

I am getting the following error, after updated to nX Hub 6 on the settings dashboard.

image

Right now it seems to be a cosmetic error, and i have noticed anything yet.

We’ll try to disable the module update from the NC admin page, as Marc pointed out here:

2 Likes

(Nextcloud)

the new TAbles APP in NExtcloud is an extremly powerful tool, interesting

My NethVoice Installation Freezes at 67%

image

After performing the relevant system up[dates,

I went to software center and first installed the NethVoice Proxy.

my assumption for doing this was that NethVoice might not work without Nethvoice Proxy.

After installing Nethvoice Proxy, i proceeded with installing NEthVoice CTI.

unfortunately its been more than one hour, and it has stuck at 67 percent.

I am not sure what might be the issue.

this is still my repos settings:

EDIT:

finally it has failed the installation with the following trace:
image
image

{"context":{"action":"add-module","data":{"image":"ghcr.io/nethesis/nethvoice:0.0.1","node":1},"extra":{"completion":{"extraTextParams":["node"],"i18nString":"software_center.instance_installed_on_node","outputTextParams":["module_id"]},"description":"Installing on Node 1","eventId":"68d57823-7561-4d13-bfb8-1b8d8a8075d3","node":"Node 1","title":"Install NethVoice"},"id":"01ebf395-d859-432a-9749-fec142206209","parent":"","queue":"cluster/tasks","timestamp":"2023-11-23T08:57:40.525699463Z","user":"admin"},"status":"aborted","progress":67,"subTasks":[{"context":{"action":"add-module","data":{"environment":{"IMAGE_DIGEST":"sha256:5ffffacfb28e2f61669d4a7c7d9afa331748422d10900881839923b4df524a37","IMAGE_ID":"bdc95fb292f0dd00529a13a2962fbb9ed0abae1aa12e7c593f9cc576f5fb66e1","IMAGE_REOPODIGEST":"ghcr.io/nethesis/nethvoice@sha256:5ffffacfb28e2f61669d4a7c7d9afa331748422d10900881839923b4df524a37","IMAGE_URL":"ghcr.io/nethesis/nethvoice:0.0.1","MODULE_ID":"nethvoice2","MODULE_UUID":"d44c315e-9b13-4526-ac2d-b33f6c44aa7f","NODE_ID":"1","TCP_PORT":"20055","TCP_PORTS_RANGE":"20055-20087"},"is_rootfull":false,"module_id":"nethvoice2"},"extra":{},"id":"170af123-a653-40db-b6c4-6fda8ce944b3","parent":"01ebf395-d859-432a-9749-fec142206209"},"status":"completed","progress":100,"subTasks":[],"result":{"error":"<7>useradd -m -k /etc/nethserver/skel -s /bin/bash nethvoice2\n<7>extract-image ghcr.io/nethesis/nethvoice:0.0.1\nExtracting container filesystem imageroot to /home/nethvoice2/.config\nTotal bytes read: 8519680 (8.2MiB, 99MiB/s)\nimageroot/actions/\nimageroot/actions/configure-module/\nimageroot/actions/configure-module/20setenvs\nimageroot/actions/configure-module/30traefik\nimageroot/actions/configure-module/50users\nimageroot/actions/configure-module/60sip_proxy\nimageroot/actions/configure-module/71reports_api\nimageroot/actions/configure-module/72reports_ui\nimageroot/actions/configure-module/80start_services\nimageroot/actions/configure-module/validate-input.json\nimageroot/actions/create-module/\nimageroot/actions/create-module/05setenvs\nimageroot/actions/create-module/80process_notifier\nimageroot/actions/create-module/90firewall\nimageroot/actions/destroy-module/\nimageroot/actions/destroy-module/20destroy\nimageroot/actions/destroy-module/60sip_proxy\nimageroot/actions/destroy-module/90firewall\nimageroot/actions/get-configuration/\nimageroot/actions/get-configuration/20read\nimageroot/actions/get-configuration/validate-output.json\nimageroot/actions/restore-module/\nimageroot/actions/restore-module/20copyenv\nimageroot/actions/restore-module/21database\nimageroot/actions/restore-module/22asterisk\nimageroot/actions/restore-module/70configure_module\nimageroot/actions/restore-module/71reload_services\nimageroot/bin/\nimageroot/bin/adjust-services\nimageroot/bin/install-certificate\nimageroot/bin/module-cleanup-state\nimageroot/bin/module-dump-state\nimageroot/etc/\nimageroot/etc/state-include.conf\nimageroot/events/\nimageroot/events/certificate-updated/\nimageroot/events/certificate-updated/00validate_event\nimageroot/events/certificate-updated/20install_certificate\nimageroot/events/user-domain-changed/\nimageroot/events/user-domain-changed/20configure_ldap\nimageroot/systemd/\nimageroot/systemd/user/\nimageroot/systemd/user/asterisk.service\nimageroot/systemd/user/flexisip.service\nimageroot/systemd/user/freepbx.service\nimageroot/systemd/user/janus.service\nimageroot/systemd/user/mariadb.service\nimageroot/systemd/user/nethcti-server.service\nimageroot/systemd/user/nethcti-ui.service\nimageroot/systemd/user/phonebook-update.service\nimageroot/systemd/user/phonebook-update.timer\nimageroot/systemd/user/phonebook.service\nimageroot/systemd/user/redis-flexisip.service\nimageroot/systemd/user/reports-api.service\nimageroot/systemd/user/reports-redis.service\nimageroot/systemd/user/reports-scheduler.service\nimageroot/systemd/user/reports-scheduler.timer\nimageroot/systemd/user/reports-ui.service\nimageroot/systemd/user/tancredi.service\nimageroot/systemd/user/watcher.path\nimageroot/systemd/user/watcher.service\nchanged ownership of './events/certificate-updated/20install_certificate' from root:root to nethvoice2:nethvoice2\nchanged ownership of './events/certificate-updated/00validate_event' from root:root to nethvoice2:nethvoice2\nchanged ownership of './events/certificate-updated' from root:root to nethvoice2:nethvoice2\nchanged ownership of './events/user-domain-changed/20configure_ldap' from root:root to nethvoice2:nethvoice2\nchanged ownership of './events/user-domain-changed' from root:root to nethvoice2:nethvoice2\nchanged ownership of './events' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/watcher.path' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/nethcti-ui.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/flexisip.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/redis-flexisip.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/phonebook-update.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/watcher.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/reports-api.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/nethcti-server.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/asterisk.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/tancredi.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/janus.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/reports-scheduler.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/reports-ui.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/mariadb.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/freepbx.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/reports-scheduler.timer' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/phonebook-update.timer' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/reports-redis.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './systemd/user/phonebook.service' from root:root to nethvoice2:nethvoice2\nchanged ownership of './.imageroot.lst' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/destroy-module/20destroy' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/destroy-module/90firewall' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/destroy-module/60sip_proxy' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/destroy-module' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module/72reports_ui' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module/30traefik' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module/20setenvs' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module/50users' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module/80start_services' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module/60sip_proxy' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module/71reports_api' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module/validate-input.json' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/configure-module' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/get-configuration/20read' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/get-configuration/validate-output.json' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/get-configuration' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/create-module/80process_notifier' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/create-module/05setenvs' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/create-module/90firewall' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/create-module' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/restore-module/20copyenv' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/restore-module/21database' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/restore-module/22asterisk' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/restore-module/71reload_services' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/restore-module/70configure_module' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions/restore-module' from root:root to nethvoice2:nethvoice2\nchanged ownership of './actions' from root:root to nethvoice2:nethvoice2\nchanged ownership of './etc/state-include.conf' from root:root to nethvoice2:nethvoice2\nchanged ownership of './etc' from root:root to nethvoice2:nethvoice2\nchanged ownership of './state/environment' from root:root to nethvoice2:nethvoice2\nchanged ownership of './state/agent.env' from root:root to nethvoice2:nethvoice2\nchanged ownership of './bin/install-certificate' from root:root to nethvoice2:nethvoice2\nchanged ownership of './bin/module-cleanup-state' from root:root to nethvoice2:nethvoice2\nchanged ownership of './bin/module-dump-state' from root:root to nethvoice2:nethvoice2\nchanged ownership of './bin/adjust-services' from root:root to nethvoice2:nethvoice2\nchanged ownership of './bin' from root:root to nethvoice2:nethvoice2\ne4966c33e39a12e16860b9e5b6f2b975c4489d65e25451ced93a7093c069bdc6\n<7>systemctl try-restart promtail.service\n<7>loginctl enable-linger nethvoice2\n","exit_code":0,"file":"task/node/1/170af123-a653-40db-b6c4-6fda8ce944b3","output":{"redis_sha256":"9028c5c17fb84123084d0dbd969b84bf7b117d9f6086c687acd0447741b2001e"}}},{"context":{"action":"create-module","data":{"images":["ghcr.io/nethesis/nethvoice-mariadb:0.0.1","ghcr.io/nethesis/nethvoice-freepbx:0.0.1","ghcr.io/nethesis/nethvoice-asterisk:0.0.1","ghcr.io/nethesis/nethvoice-cti-server:0.0.1","ghcr.io/nethesis/nethvoice-cti-ui:0.0.1","ghcr.io/nethesis/nethvoice-tancredi:0.0.1","ghcr.io/nethesis/nethvoice-janus:0.0.1","ghcr.io/nethesis/nethvoice-phonebook:0.0.1","ghcr.io/nethesis/nethvoice-flexisip:0.0.1","docker.io/library/redis:7.0.10-alpine","ghcr.io/nethesis/nethvoice-reports-ui:0.0.1","ghcr.io/nethesis/nethvoice-reports-api:0.0.1"]},"extra":{},"id":"0b0febf4-d308-48fc-85d3-2431ee5c1f90","parent":"01ebf395-d859-432a-9749-fec142206209"},"status":"aborted","progress":0,"subTasks":[],"result":{"error":"Add to module/nethvoice2 environment NETHVOICE_MARIADB_IMAGE=ghcr.io/nethesis/nethvoice-mariadb:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_FREEPBX_IMAGE=ghcr.io/nethesis/nethvoice-freepbx:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_ASTERISK_IMAGE=ghcr.io/nethesis/nethvoice-asterisk:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_CTI_SERVER_IMAGE=ghcr.io/nethesis/nethvoice-cti-server:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_CTI_UI_IMAGE=ghcr.io/nethesis/nethvoice-cti-ui:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_TANCREDI_IMAGE=ghcr.io/nethesis/nethvoice-tancredi:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_JANUS_IMAGE=ghcr.io/nethesis/nethvoice-janus:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_PHONEBOOK_IMAGE=ghcr.io/nethesis/nethvoice-phonebook:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_FLEXISIP_IMAGE=ghcr.io/nethesis/nethvoice-flexisip:0.0.1\nAdd to module/nethvoice2 environment REDIS_IMAGE=docker.io/library/redis:7.0.10-alpine\nAdd to module/nethvoice2 environment NETHVOICE_REPORTS_UI_IMAGE=ghcr.io/nethesis/nethvoice-reports-ui:0.0.1\nAdd to module/nethvoice2 environment NETHVOICE_REPORTS_API_IMAGE=ghcr.io/nethesis/nethvoice-reports-api:0.0.1\n<7>podman-pull-missing ghcr.io/nethesis/nethvoice-mariadb:0.0.1 ghcr.io/nethesis/nethvoice-freepbx:0.0.1 ghcr.io/nethesis/nethvoice-asterisk:0.0.1 ghcr.io/nethesis/nethvoice-cti-server:0.0.1 ghcr.io/nethesis/nethvoice-cti-ui:0.0.1 ghcr.io/nethesis/nethvoice-tancredi:0.0.1 ghcr.io/nethesis/nethvoice-janus:0.0.1 ghcr.io/nethesis/nethvoice-phonebook:0.0.1 ghcr.io/nethesis/nethvoice-flexisip:0.0.1 docker.io/library/redis:7.0.10-alpine ghcr.io/nethesis/nethvoice-reports-ui:0.0.1 ghcr.io/nethesis/nethvoice-reports-api:0.0.1\nTrying to pull ghcr.io/nethesis/nethvoice-mariadb:0.0.1...\nGetting image source signatures\nCopying blob sha256:57be5c3395d74b92b125c84be4e7ca30ea17df9e4c436f7afacd5996e934a3f4\nCopying blob sha256:15eaa4f76d30bf3e5eef5cd8d3521d13a613e7081e9c9d6f0a3239383e574b6c\nCopying blob sha256:6b079b1646fb26c08add16ebb33c790ff74a7cb833ee219e1921a4903c16b18a\nCopying blob sha256:79a78e7d08912b17136f071a312d4d1f7193860c0b26650ffeefb100386bb0a3\nCopying blob sha256:f900cbafbed96021dcac39aa3b09ed558eb9650f4b6452aa3012572028e527a7\nCopying blob sha256:1dad4dcc8166000a324b77561a700411e2796cf7ee76f5d57d4a8aedabd00baf\nCopying blob sha256:b2cc3023549ed13826117879b8247b059be2b26cbb081abffda96070f0f51597\nCopying blob sha256:d63c25abf8cfaddfd3f9d4827a95ddccee88cdb161b01c0cbb1b12d02d938435\nCopying blob sha256:6f46b6497e36aa050555ed78a8126286dcb5b50defaedc961410322106f571e8\nCopying blob sha256:4c85255d41ceb279581627da42660f73cb64f5cb9fec3fb95dfbeb55f242e154\nCopying blob sha256:e93a069f1e2451b9af516ffc18ab2a1c5da13e6aa058cee12aa9d7c36cdf86d6\nCopying blob sha256:d82a9b8433e180e4c563eda6a095f9730d58549e83c768683fd202e90651dd3c\nCopying config sha256:1657b8c29c382ecc0710a30d51aee2d066800ed6977ff0027dd202230c0d8148\nWriting manifest to image destination\n1657b8c29c382ecc0710a30d51aee2d066800ed6977ff0027dd202230c0d8148\nTrying to pull ghcr.io/nethesis/nethvoice-freepbx:0.0.1...\nGetting image source signatures\nCopying blob sha256:be5b2dad98b12b7f9eddca3ce4d6af66ce99483fd78a7ca3b5c1a4290589530a\nCopying blob sha256:39e3d9efeaecd2d4cf12d51cd4e803ffcc3ca0c14dbfb00965b5c0e539186e91\nCopying blob sha256:56c44bef69b8e40afec9e3a00720162e6cd0dea7fbe47b68611049b0439aa377\nCopying blob sha256:6e7dcf557ed7efb8b48c18b67d09c227a0011dda132e30caac70856397e4288f\nCopying blob sha256:144b0ee7c81a2ce9800187d70ab0fbab2c28dc4dd17d52b4f9a8e13926122840\nCopying blob sha256:f9958846018c6fe706623efc70bb32fb876cf08667bf694639bf192119992c12\nCopying blob sha256:9d6bac6565a090a4683fabeacdca4a254558b88465f5591429428571277d5a5b\nCopying blob sha256:f7bd7f3dcacac07b0032538ce04cc9c890b618f0e62211cf8717c5d51e541937\nCopying blob sha256:573f91a5ef58c8ec0b2cc7854313f9fd6ecafe5562f8c16c38feed2963328aec\nCopying blob sha256:762c4a6412e15c0d5f8e9ec6d3a06aab031cf7056c925172ef5d189c88dc4a63\nCopying blob sha256:da3a88f6140c3a4bb127b23265e9ff8476aad83a57fc9497b3615c281a584313\nCopying blob sha256:7337b3e9d4d8d062b5f4809ef4301077799ac8dc8aa5078720abeb052dee6816\nCopying blob sha256:0f5c740b055da9faf14216777314410b1efaf3273c1b8695993a6394905b815e\nCopying blob sha256:dc08c62c313d53ae5848f30e2d81c88ecd5fba53bd657fb788e8426b1132f01a\nCopying config sha256:547835b2d12d4422e0c4ff2dad5600e770bd58bfaa8cfa2b0d59c3d3426244a0\nWriting manifest to image destination\n547835b2d12d4422e0c4ff2dad5600e770bd58bfaa8cfa2b0d59c3d3426244a0\nTrying to pull ghcr.io/nethesis/nethvoice-asterisk:0.0.1...\nGetting image source signatures\nCopying blob sha256:521bfb66ac4487c9962d8e20fbb7ab46aa45708ef6f2023ce6dc208777ca4361\nCopying blob sha256:b7c881a3bf2a0dc2fbde7d890088ac77af6b443df08f7dcc6e2116ca50e22d4c\nCopying blob sha256:dc42a7f8d67da58319a5573403477280e33079847b8c6f0a932a2ba34fe63a9e\nCopying blob sha256:72d220a1b442eeec3410898c5df64173a6c5e2e2334d4b7c413cd3fb946f2493\nCopying blob sha256:057d8bbfa91f38cefc85300507247751d57c1cad5beb13a7c08fe10cc5ed246d\nCopying blob sha256:0b2dc63a68b9b80b6e261e0c71119894a739d353f8263d6b2f1394c66a45f5af\nCopying blob sha256:fb0da86033df1db95612d4567ca3f32ac98ad97c1ff5ad2b698dfbba9da3935b\nCopying blob sha256:1b386f88b5811798924a62b3e0077ff73b0c66b5c7f81807a55363f83b657b6f\nCopying blob sha256:466b15ea743b240ddd984c2dc1e8d3d07db0564b43219ec047dc901ff1c35a82\nCopying blob sha256:32e6c609529c7c952462ef7e1c3785735d51b8ae066cee0d05128f67f947ea16\nCopying blob sha256:0486742426caa8f4f20f6b35ab18e84c37684a3371ced5151a55de9d73930e7e\nCopying blob sha256:1ffcf88582a4ab078feed32d4581126c83f48f458bb5bb8bcd63061a38f17eb7\nCopying blob sha256:a0516cb6898a563740016e868ce74dd6c264142e65bf0759fbbab9e95d58b2c5\nCopying blob sha256:0c7f01990d46a0a60796795ff6a4c79fed0bf534f2a1d8dea6ba1f473bd02044\nError: writing blob: adding layer with blob \"sha256:dc42a7f8d67da58319a5573403477280e33079847b8c6f0a932a2ba34fe63a9e\": processing tar file(write /usr/lib64/python3.6/xml/dom/minidom.py: no space left on device): exit status 1\nTraceback (most recent call last):\n  File \"/usr/local/agent/bin/podman-pull-missing\", line 35, in <module>\n    subprocess.run(['podman', 'pull', image_url]).check_returncode()\n  File \"/usr/lib64/python3.11/subprocess.py\", line 502, in check_returncode\n    raise CalledProcessError(self.returncode, self.args, self.stdout,\nsubprocess.CalledProcessError: Command '['podman', 'pull', 'ghcr.io/nethesis/nethvoice-asterisk:0.0.1']' returned non-zero exit status 125.\nTraceback (most recent call last):\n  File \"/usr/local/agent/actions/create-module/05pullimages\", line 45, in <module>\n    agent.run_helper('podman-pull-missing', *images).check_returncode()\n  File \"/usr/lib64/python3.11/subprocess.py\", line 502, in check_returncode\n    raise CalledProcessError(self.returncode, self.args, self.stdout,\nsubprocess.CalledProcessError: Command '('podman-pull-missing', 'ghcr.io/nethesis/nethvoice-mariadb:0.0.1', 'ghcr.io/nethesis/nethvoice-freepbx:0.0.1', 'ghcr.io/nethesis/nethvoice-asterisk:0.0.1', 'ghcr.io/nethesis/nethvoice-cti-server:0.0.1', 'ghcr.io/nethesis/nethvoice-cti-ui:0.0.1', 'ghcr.io/nethesis/nethvoice-tancredi:0.0.1', 'ghcr.io/nethesis/nethvoice-janus:0.0.1', 'ghcr.io/nethesis/nethvoice-phonebook:0.0.1', 'ghcr.io/nethesis/nethvoice-flexisip:0.0.1', 'docker.io/library/redis:7.0.10-alpine', 'ghcr.io/nethesis/nethvoice-reports-ui:0.0.1', 'ghcr.io/nethesis/nethvoice-reports-api:0.0.1')' returned non-zero exit status 1.\n","exit_code":1,"file":"task/module/nethvoice2/0b0febf4-d308-48fc-85d3-2431ee5c1f90","output":""}}],"validated":true,"result":{"error":"<7>podman-pull-missing ghcr.io/nethesis/nethvoice:0.0.1\n<7>extract-ui ghcr.io/nethesis/nethvoice:0.0.1\nExtracting container filesystem ui to /var/lib/nethserver/cluster/ui/apps/nethvoice2\nui/css/\nui/css/about~f71cff67.64a6b2de.css\nui/css/app~748942c6.722f2699.css\nui/i18n/\nui/i18n/en/\nui/i18n/en/translation.json\nui/i18n/it/\nui/i18n/it/translation.json\nui/img/\nui/img/nethvoice-logo.4288a1ee.svg\nui/index.html\nui/js/\nui/js/about~f71cff67.6da89031.js\nui/js/about~f71cff67.6da89031.js.map\nui/js/app~748942c6.cdd326e5.js\nui/js/app~748942c6.cdd326e5.js.map\nui/js/chunk-vendors~02576867.44c88c8d.js\nui/js/chunk-vendors~02576867.44c88c8d.js.map\nui/js/chunk-vendors~0605657e.7f254d6a.js\nui/js/chunk-vendors~0605657e.7f254d6a.js.map\nui/js/chunk-vendors~0f485567.a4fd29dc.js\nui/js/chunk-vendors~0f485567.a4fd29dc.js.map\nui/js/chunk-vendors~17faf02d.7f68aab6.js\nui/js/chunk-vendors~17faf02d.7f68aab6.js.map\nui/js/chunk-vendors~1d97ff09.290bda9d.js\nui/js/chunk-vendors~1d97ff09.290bda9d.js.map\nui/js/chunk-vendors~2a42e354.0df57e14.js\nui/js/chunk-vendors~2a42e354.0df57e14.js.map\nui/js/chunk-vendors~2aa62147.38204dba.js\nui/js/chunk-vendors~2aa62147.38204dba.js.map\nui/js/chunk-vendors~41d44f25.e7779fa1.js\nui/js/chunk-vendors~41d44f25.e7779fa1.js.map\nui/js/chunk-vendors~46852254.0b6d19c2.js\nui/js/chunk-vendors~46852254.0b6d19c2.js.map\nui/js/chunk-vendors~57473a66.f586d2ed.js\nui/js/chunk-vendors~57473a66.f586d2ed.js.map\nui/js/chunk-vendors~5bb1f863.3efba861.js\nui/js/chunk-vendors~5bb1f863.3efba861.js.map\nui/js/chunk-vendors~5eba3806.b8428291.js\nui/js/chunk-vendors~5eba3806.b8428291.js.map\nui/js/chunk-vendors~690b702c.fd888ae3.js\nui/js/chunk-vendors~690b702c.fd888ae3.js.map\nui/js/chunk-vendors~7274e1de.b9a8e23f.js\nui/js/chunk-vendors~7274e1de.b9a8e23f.js.map\nui/js/chunk-vendors~86f6b1bc.6953e08f.js\nui/js/chunk-vendors~86f6b1bc.6953e08f.js.map\nui/js/chunk-vendors~b5906859.deff14e4.js\nui/js/chunk-vendors~b5906859.deff14e4.js.map\nui/js/chunk-vendors~bc21d4b3.68b10b46.js\nui/js/chunk-vendors~bc21d4b3.68b10b46.js.map\nui/js/chunk-vendors~c8728516.dd1ccc58.js\nui/js/chunk-vendors~c8728516.dd1ccc58.js.map\nui/js/chunk-vendors~d2305125.6a99a4ff.js\nui/js/chunk-vendors~d2305125.6a99a4ff.js.map\nui/js/chunk-vendors~d9886323.1a1a66f6.js\nui/js/chunk-vendors~d9886323.1a1a66f6.js.map\nui/js/chunk-vendors~db300d2f.ddb8641c.js\nui/js/chunk-vendors~db300d2f.ddb8641c.js.map\nui/js/chunk-vendors~ec8c427e.5c1734c3.js\nui/js/chunk-vendors~ec8c427e.5c1734c3.js.map\nui/js/chunk-vendors~fdc6512a.81c5c86c.js\nui/js/chunk-vendors~fdc6512a.81c5c86c.js.map\nui/js/lang-en-translation-json~9b60384d.40489e67.js\nui/js/lang-en-translation-json~9b60384d.40489e67.js.map\nui/js/lang-it-translation-json~e043826f.4031e2b6.js\nui/js/lang-it-translation-json~e043826f.4031e2b6.js.map\nui/metadata.json\nui/shortcuts.json\n19115857ba217a10425a02ace9c5e4d0d7d928fb703331ee27e6dba71e9d9300\nAssertion failed\n  File \"/var/lib/nethserver/cluster/actions/add-module/50update\", line 223, in <module>\n    agent.assert_exp(create_module_result['exit_code'] == 0) # Ensure create-module is successful\n","exit_code":2,"file":"task/cluster/01ebf395-d859-432a-9749-fec142206209","output":""}}

TAsk Create Module

Add to module/nethvoice2 environment NETHVOICE_MARIADB_IMAGE=ghcr.io/nethesis/nethvoice-mariadb:0.0.1
Add to module/nethvoice2 environment NETHVOICE_FREEPBX_IMAGE=ghcr.io/nethesis/nethvoice-freepbx:0.0.1
Add to module/nethvoice2 environment NETHVOICE_ASTERISK_IMAGE=ghcr.io/nethesis/nethvoice-asterisk:0.0.1
Add to module/nethvoice2 environment NETHVOICE_CTI_SERVER_IMAGE=ghcr.io/nethesis/nethvoice-cti-server:0.0.1
Add to module/nethvoice2 environment NETHVOICE_CTI_UI_IMAGE=ghcr.io/nethesis/nethvoice-cti-ui:0.0.1
Add to module/nethvoice2 environment NETHVOICE_TANCREDI_IMAGE=ghcr.io/nethesis/nethvoice-tancredi:0.0.1
Add to module/nethvoice2 environment NETHVOICE_JANUS_IMAGE=ghcr.io/nethesis/nethvoice-janus:0.0.1
Add to module/nethvoice2 environment NETHVOICE_PHONEBOOK_IMAGE=ghcr.io/nethesis/nethvoice-phonebook:0.0.1
Add to module/nethvoice2 environment NETHVOICE_FLEXISIP_IMAGE=ghcr.io/nethesis/nethvoice-flexisip:0.0.1
Add to module/nethvoice2 environment REDIS_IMAGE=docker.io/library/redis:7.0.10-alpine
Add to module/nethvoice2 environment NETHVOICE_REPORTS_UI_IMAGE=ghcr.io/nethesis/nethvoice-reports-ui:0.0.1
Add to module/nethvoice2 environment NETHVOICE_REPORTS_API_IMAGE=ghcr.io/nethesis/nethvoice-reports-api:0.0.1
<7>podman-pull-missing ghcr.io/nethesis/nethvoice-mariadb:0.0.1 ghcr.io/nethesis/nethvoice-freepbx:0.0.1 ghcr.io/nethesis/nethvoice-asterisk:0.0.1 ghcr.io/nethesis/nethvoice-cti-server:0.0.1 ghcr.io/nethesis/nethvoice-cti-ui:0.0.1 ghcr.io/nethesis/nethvoice-tancredi:0.0.1 ghcr.io/nethesis/nethvoice-janus:0.0.1 ghcr.io/nethesis/nethvoice-phonebook:0.0.1 ghcr.io/nethesis/nethvoice-flexisip:0.0.1 docker.io/library/redis:7.0.10-alpine ghcr.io/nethesis/nethvoice-reports-ui:0.0.1 ghcr.io/nethesis/nethvoice-reports-api:0.0.1
Trying to pull ghcr.io/nethesis/nethvoice-mariadb:0.0.1...
Getting image source signatures
Copying blob sha256:57be5c3395d74b92b125c84be4e7ca30ea17df9e4c436f7afacd5996e934a3f4
Copying blob sha256:15eaa4f76d30bf3e5eef5cd8d3521d13a613e7081e9c9d6f0a3239383e574b6c
Copying blob sha256:6b079b1646fb26c08add16ebb33c790ff74a7cb833ee219e1921a4903c16b18a
Copying blob sha256:79a78e7d08912b17136f071a312d4d1f7193860c0b26650ffeefb100386bb0a3
Copying blob sha256:f900cbafbed96021dcac39aa3b09ed558eb9650f4b6452aa3012572028e527a7
Copying blob sha256:1dad4dcc8166000a324b77561a700411e2796cf7ee76f5d57d4a8aedabd00baf
Copying blob sha256:b2cc3023549ed13826117879b8247b059be2b26cbb081abffda96070f0f51597
Copying blob sha256:d63c25abf8cfaddfd3f9d4827a95ddccee88cdb161b01c0cbb1b12d02d938435
Copying blob sha256:6f46b6497e36aa050555ed78a8126286dcb5b50defaedc961410322106f571e8
Copying blob sha256:4c85255d41ceb279581627da42660f73cb64f5cb9fec3fb95dfbeb55f242e154
Copying blob sha256:e93a069f1e2451b9af516ffc18ab2a1c5da13e6aa058cee12aa9d7c36cdf86d6
Copying blob sha256:d82a9b8433e180e4c563eda6a095f9730d58549e83c768683fd202e90651dd3c
Copying config sha256:1657b8c29c382ecc0710a30d51aee2d066800ed6977ff0027dd202230c0d8148
Writing manifest to image destination
1657b8c29c382ecc0710a30d51aee2d066800ed6977ff0027dd202230c0d8148
Trying to pull ghcr.io/nethesis/nethvoice-freepbx:0.0.1...
Getting image source signatures
Copying blob sha256:be5b2dad98b12b7f9eddca3ce4d6af66ce99483fd78a7ca3b5c1a4290589530a
Copying blob sha256:39e3d9efeaecd2d4cf12d51cd4e803ffcc3ca0c14dbfb00965b5c0e539186e91
Copying blob sha256:56c44bef69b8e40afec9e3a00720162e6cd0dea7fbe47b68611049b0439aa377
Copying blob sha256:6e7dcf557ed7efb8b48c18b67d09c227a0011dda132e30caac70856397e4288f
Copying blob sha256:144b0ee7c81a2ce9800187d70ab0fbab2c28dc4dd17d52b4f9a8e13926122840
Copying blob sha256:f9958846018c6fe706623efc70bb32fb876cf08667bf694639bf192119992c12
Copying blob sha256:9d6bac6565a090a4683fabeacdca4a254558b88465f5591429428571277d5a5b
Copying blob sha256:f7bd7f3dcacac07b0032538ce04cc9c890b618f0e62211cf8717c5d51e541937
Copying blob sha256:573f91a5ef58c8ec0b2cc7854313f9fd6ecafe5562f8c16c38feed2963328aec
Copying blob sha256:762c4a6412e15c0d5f8e9ec6d3a06aab031cf7056c925172ef5d189c88dc4a63
Copying blob sha256:da3a88f6140c3a4bb127b23265e9ff8476aad83a57fc9497b3615c281a584313
Copying blob sha256:7337b3e9d4d8d062b5f4809ef4301077799ac8dc8aa5078720abeb052dee6816
Copying blob sha256:0f5c740b055da9faf14216777314410b1efaf3273c1b8695993a6394905b815e
Copying blob sha256:dc08c62c313d53ae5848f30e2d81c88ecd5fba53bd657fb788e8426b1132f01a
Copying config sha256:547835b2d12d4422e0c4ff2dad5600e770bd58bfaa8cfa2b0d59c3d3426244a0
Writing manifest to image destination
547835b2d12d4422e0c4ff2dad5600e770bd58bfaa8cfa2b0d59c3d3426244a0
Trying to pull ghcr.io/nethesis/nethvoice-asterisk:0.0.1...
Getting image source signatures
Copying blob sha256:521bfb66ac4487c9962d8e20fbb7ab46aa45708ef6f2023ce6dc208777ca4361
Copying blob sha256:b7c881a3bf2a0dc2fbde7d890088ac77af6b443df08f7dcc6e2116ca50e22d4c
Copying blob sha256:dc42a7f8d67da58319a5573403477280e33079847b8c6f0a932a2ba34fe63a9e
Copying blob sha256:72d220a1b442eeec3410898c5df64173a6c5e2e2334d4b7c413cd3fb946f2493
Copying blob sha256:057d8bbfa91f38cefc85300507247751d57c1cad5beb13a7c08fe10cc5ed246d
Copying blob sha256:0b2dc63a68b9b80b6e261e0c71119894a739d353f8263d6b2f1394c66a45f5af
Copying blob sha256:fb0da86033df1db95612d4567ca3f32ac98ad97c1ff5ad2b698dfbba9da3935b
Copying blob sha256:1b386f88b5811798924a62b3e0077ff73b0c66b5c7f81807a55363f83b657b6f
Copying blob sha256:466b15ea743b240ddd984c2dc1e8d3d07db0564b43219ec047dc901ff1c35a82
Copying blob sha256:32e6c609529c7c952462ef7e1c3785735d51b8ae066cee0d05128f67f947ea16
Copying blob sha256:0486742426caa8f4f20f6b35ab18e84c37684a3371ced5151a55de9d73930e7e
Copying blob sha256:1ffcf88582a4ab078feed32d4581126c83f48f458bb5bb8bcd63061a38f17eb7
Copying blob sha256:a0516cb6898a563740016e868ce74dd6c264142e65bf0759fbbab9e95d58b2c5
Copying blob sha256:0c7f01990d46a0a60796795ff6a4c79fed0bf534f2a1d8dea6ba1f473bd02044
Error: writing blob: adding layer with blob "sha256:dc42a7f8d67da58319a5573403477280e33079847b8c6f0a932a2ba34fe63a9e": processing tar file(write /usr/lib64/python3.6/xml/dom/minidom.py: no space left on device): exit status 1
Traceback (most recent call last):
  File "/usr/local/agent/bin/podman-pull-missing", line 35, in <module>
    subprocess.run(['podman', 'pull', image_url]).check_returncode()
  File "/usr/lib64/python3.11/subprocess.py", line 502, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['podman', 'pull', 'ghcr.io/nethesis/nethvoice-asterisk:0.0.1']' returned non-zero exit status 125.
Traceback (most recent call last):
  File "/usr/local/agent/actions/create-module/05pullimages", line 45, in <module>
    agent.run_helper('podman-pull-missing', *images).check_returncode()
  File "/usr/lib64/python3.11/subprocess.py", line 502, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '('podman-pull-missing', 'ghcr.io/nethesis/nethvoice-mariadb:0.0.1', 'ghcr.io/nethesis/nethvoice-freepbx:0.0.1', 'ghcr.io/nethesis/nethvoice-asterisk:0.0.1', 'ghcr.io/nethesis/nethvoice-cti-server:0.0.1', 'ghcr.io/nethesis/nethvoice-cti-ui:0.0.1', 'ghcr.io/nethesis/nethvoice-tancredi:0.0.1', 'ghcr.io/nethesis/nethvoice-janus:0.0.1', 'ghcr.io/nethesis/nethvoice-phonebook:0.0.1', 'ghcr.io/nethesis/nethvoice-flexisip:0.0.1', 'docker.io/library/redis:7.0.10-alpine', 'ghcr.io/nethesis/nethvoice-reports-ui:0.0.1', 'ghcr.io/nethesis/nethvoice-reports-api:0.0.1')' returned non-zero exit status 1.

Remove the failed instance and try with a new one. There could be a download issue.

Sometimes public registries are really slow and download fails.

no matter trying to remove and adding, it refused, then finally, i was unable to remove any of the items, with some errors,

i did an update that was made available then,and finally my server broke, i can access cluster admin, but i can ssh into the server.

EDIT: weired enough, seems the seerver has run out of storage, not sure if it was because of multiple nethvoice installs that were failing.

does rm -rf these folders remove the said modules as well
image

EDIT:

After deleting those folders, i was able to run dnf upgrade, after which i rebooted the server to be able toa ccess the cluster admin, and it was a sucess.

I tried to install new core updates, and now its paused at 78% for a long time.

I noticed the nethvoice instaces are still installed, so i try to uninstall them, i only get an error, somethign went wrong

image

Traceback (most recent call last):
  File "/var/lib/nethserver/cluster/actions/remove-module/50update", line 55, in <module>
    destroy_module_result = agent.tasks.run(
                            ^^^^^^^^^^^^^^^^
  File "/usr/local/agent/pypkg/agent/tasks/run.py", line 39, in run
    results = runp([taskrq], **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/agent/pypkg/agent/tasks/run.py", line 50, in runp
    return asyncio.run(_runp(tasks, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/local/agent/pypkg/agent/tasks/run.py", line 120, in _runp
    return await asyncio.gather(*runners, return_exceptions=(len(tasks) > 1))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/agent/pypkg/agent/tasks/run.py", line 127, in _run_with_protocol
    return await run_redisclient(taskrq, **pconn)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/agent/pypkg/agent/tasks/redisclient.py", line 77, in run_redisclient
    await _task_submission_check_client_idle(rdb, taskrq, kwargs['check_idle_time'])
  File "/usr/local/agent/pypkg/agent/tasks/redisclient.py", line 41, in _task_submission_check_client_idle
    raise TaskSubmissionCheckFailed(f"Client \"{taskrq['agent_id']}\" was not found")
agent.tasks.exceptions.TaskSubmissionCheckFailed: Client "module/nethvoice3" was not found
Exception ignored in: <function StreamWriter.__del__ at 0x7f924538f060>
Traceback (most recent call last):
  File "/usr/lib64/python3.11/asyncio/streams.py", line 396, in __del__
  File "/usr/lib64/python3.11/asyncio/streams.py", line 344, in close
  File "/usr/lib64/python3.11/asyncio/selector_events.py", line 860, in close
  File "/usr/lib64/python3.11/asyncio/base_events.py", line 761, in call_soon
  File "/usr/lib64/python3.11/asyncio/base_events.py", line 519, in _check_closed
RuntimeError: Event loop is closed

above is the error details

i am not sure if th error is as a result that i deleted the module folders from ssh, or if its as a result of the failed install from before.

i could attemtp this with a module that installed compeltely, so that as developers you could work out how to handlethis situation before prod.

Could we also have a way to update the core modules from the command line as opposed to only the admin page

1 Like

After Playing too much woth the server, i think the server is broken, and now alot of things seem to be erratic and operating with errors and issues.

I have resolved to end this test and begin another test on the same, this will also be a new install based on RC1 and therefore, i expect fewer errors.