Problem deleting us...
 
Notifications
Clear all

Problem deleting user accounts from Admin Panel or CLI

10 Posts
3 Users
0 Reactions
195 Views
(@alexmanafan)
New Member
Joined: 1 year ago
Posts: 11
Topic starter  

I'm having trouble deleting user accounts from the Admin Panel or CLI.
When trying to delete an account from the Admin Panel it simply doesn't delete or do anything, the window just freezes. The rest of the functions such as closing the account work without any problem.
When trying to delete the account from CLI using:

carbonio prov da user@mydomain.com

it shows me the following error.

 

ERROR: service.FAILURE (system failure: Delete account user@mydomain.com has an error: Failed to publish delete user requested event)

The services are running without problems and the server works just as well without any issues.


   
Quote
(@sharif)
Estimable Member Admin
Joined: 3 years ago
Posts: 637
 

@alexmanafan

Hi,

I haven't notice anything like this till now. Could you please share the output of following:

su - zextras -c "zmcontrol -v && zmcontrol status"
curl -s -v  http://127.78.0.4:10000/health  | jq
consul members
systemctl list-units carbonio*

And what OS you are using?

regards,


   
ReplyQuote
(@sharif)
Estimable Member Admin
Joined: 3 years ago
Posts: 637
 

Just the log of my deletion activity:

2025-01-23 14:24:38,846 INFO  [qtp1153025988-277] [name=zimbra;ua=zmprov/24.12.3_ZEXTRAS_202501;soapId=17616514;] MessageBrokerClient - Declaring exchange DELETE_USER_REQUESTED_EXCHANGE
2025-01-23 14:24:38,851 INFO  [qtp1153025988-277] [name=zimbra;ua=zmprov/24.12.3_ZEXTRAS_202501;soapId=17616514;] MessageBrokerClient - Trying to publish message
2025-01-23 14:24:38,874 INFO  [qtp1153025988-277] [name=zimbra;ua=zmprov/24.12.3_ZEXTRAS_202501;soapId=17616514;] account - Published deleted account event for user: 16d2368c-f11f-4e4c-a301-c7897a4dc663
2025-01-23 14:24:38,882 INFO  [qtp1153025988-277] [name=zimbra;ua=zmprov/24.12.3_ZEXTRAS_202501;soapId=17616514;] soap - DeleteAccountRequest elapsed=104

regards,


   
ReplyQuote
(@alexmanafan)
New Member
Joined: 1 year ago
Posts: 11
Topic starter  

@sharif 

I send you the result

su - zextras -c "zmcontrol -v && zmcontrol status"

Carbonio Release 24.12.1
Host correosmaxivos.infopvirtual.com
        amavis                  Running
        antispam                Running
        antivirus               Running
        directory-server        Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        service-discover        Running
        stats                   Running
        config service          Running

You can tell me what I'm really consulting here:

curl -s -v   http://127.78.0.4:10000/health   | jq

*   Trying 127.78.0.4:10000...
* connect to 127.78.0.4 port 10000 from 127.0.0.1 port 35722 failed: Connection refused
* Failed to connect to 127.78.0.4 port 10000 after 0 ms: Could not connect to server
* closing connection #0
consul members

Node                                    Address             Status  Type    Build   Protocol  DC   Partition  Segment
server-mta-mydomain-com  xx.xx.116.238:8301  alive   server  1.19.1  2         dc1  d
 systemctl list-units carbonio*

  UNIT                                               LOAD   ACTIVE SUB     DESCRIPTION
  carbonio-catalog-sidecar.service                   loaded active running Carbonio Catalog sidecar proxy
  carbonio-catalog.service                           loaded active running Carbonio Catalog daemon
  carbonio-clamav-sidecar.service                    loaded active running Carbonio clamav sidecar proxy
  carbonio-clamav-signature-provider-sidecar.service loaded active running NGINX Carbonio ClamAV signature provider sidecar
  carbonio-docs-connector-db-sidecar.service         loaded active running Carbonio Docs Connector database sidecar
  carbonio-docs-connector-sidecar.service            loaded active running Carbonio docs connector sidecar proxy
  carbonio-docs-connector.service                    loaded active running Carbonio docs connector daemon
  carbonio-docs-editor-sidecar.service               loaded active running Carbonio Docs server sidecar proxy
  carbonio-docs-editor.service                       loaded active running Carbonio Docs Server
  carbonio-files-db-sidecar.service                  loaded active running Carbonio Files database sidecar
  carbonio-files-sidecar.service                     loaded active running Carbonio Files sidecar proxy
  carbonio-files.service                             loaded active running Carbonio Files daemon
  carbonio-mailbox-admin-sidecar.service             loaded active running Carbonio Mailbox Admin proxy sidecar
  carbonio-mailbox-db-sidecar.service                loaded active running Carbonio Mailbox database sidecar
  carbonio-mailbox-nslookup-sidecar.service          loaded active running Carbonio Mailbox NSLookup proxy sidecar
  carbonio-mailbox-sidecar.service                   loaded active running Mailbox carbonio proxy sidecar
  carbonio-mta-sidecar.service                       loaded active running Carbonio mta sidecar proxy
  carbonio-preview-sidecar.service                   loaded active running Carbonio Preview sidecar proxy
  carbonio-preview.service                           loaded active running Carbonio Preview daemon
  carbonio-prometheus-consul-exporter.service        loaded active running Carbonio Prometheus Consul exporter
  carbonio-prometheus-mysqld-exporter.service        loaded active running Carbonio Prometheus MySQL exporter
  carbonio-prometheus-nginx-exporter.service         loaded active running Carbonio Prometheus NGINX exporter
  carbonio-prometheus-node-exporter.service          loaded active running Carbonio Prometheus Node Exporter
  carbonio-prometheus-openldap-exporter.service      loaded active running Carbonio Prometheus OpenLDAP exporter
  carbonio-proxy-sidecar.service                     loaded active running NGINX carbonio proxy sidecar
  carbonio-storages-sidecar.service                  loaded active running Storages-CE sidecar proxy
  carbonio-storages.service                          loaded active running Carbonio Storages-CE daemon
  carbonio-tasks-db-sidecar.service                  loaded active running Carbonio Tasks database sidecar
  carbonio-tasks-sidecar.service                     loaded active running Carbonio Tasks sidecar proxy
  carbonio-tasks.service                             loaded active running Carbonio Tasks daemon
  carbonio-user-management-sidecar.service           loaded active running Carbonio User Management sidecar proxy
  carbonio-user-management.service                   loaded active running Carbonio User Management daemon
  carbonio.service                                   loaded active exited  LSB: Carbonio Services

Thank you for your help


   
ReplyQuote
(@alexmanafan)
New Member
Joined: 1 year ago
Posts: 11
Topic starter  
curl -s -v  http://127.78.0.4:10000/health  | jq

I understand that it should be to check Work Stream but I am not using it, it is not installed


   
ReplyQuote
(@jpsilva)
New Member
Joined: 2 years ago
Posts: 14
 

Hello, I also have the same problem, any solution?


   
ReplyQuote
(@alexmanafan)
New Member
Joined: 1 year ago
Posts: 11
Topic starter  

@jpsilva 

I updated to Core version: 24.12.4 the problem is solved, I can now delete accounts.


   
ReplyQuote
(@jpsilva)
New Member
Joined: 2 years ago
Posts: 14
 

@alexmanafan 

So, I did that, but it didn't work either!

The CLI showed the version: Carbonio Release 24.12.1
Through the web interface: Core Version 24.12.4

I even restarted the services to see if it would work.


   
ReplyQuote
(@jpsilva)
New Member
Joined: 2 years ago
Posts: 14
 

Following the code mine is like this:

root@mail:~# su - zextras -c "zmcontrol -v && zmcontrol status"
Carbonio Release 24.12.1
Host mail.myhostname.com.br
        amavis                  Running
        antispam                Running
        antivirus               Running
        cbpolicyd               Running
        directory-server        Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        service-discover        Running
        stats                   Running
        config service          Running


root@mail:~# curl -s -v    http://127.78.0.4:10000/health    | jq
*   Trying 127.78.0.4:10000...
* connect to 127.78.0.4 port 10000 failed: Connection refused
* Failed to connect to 127.78.0.4 port 10000 after 0 ms: Connection refused
* Closing connection 0
root@mail:~# consul members
Node                                Address             Status  Type    Build   Protocol  DC   Partition  Segment
server-mail-myhostname-com-br  xxx.xxx.xxx.xxx:8301  alive   server  1.19.1  2         dc1  default    <all>

root@mail:~# systemctl list-units carbonio*
  UNIT                                               LOAD   ACTIVE     SUB          DESCRIPTION
  carbonio-clamav-sidecar.service                    loaded active     running      Carbonio clamav sidecar proxy
  carbonio-clamav-signature-provider-sidecar.service loaded active     running      NGINX Carbonio ClamAV signature provider sidecar
  carbonio-docs-connector-db-sidecar.service         loaded activating auto-restart Carbonio Docs Connector database sidecar
  carbonio-docs-connector-sidecar.service            loaded active     running      Carbonio docs connector sidecar proxy
  carbonio-docs-connector.service                    loaded active     running      Carbonio docs connector daemon
  carbonio-docs-editor-sidecar.service               loaded active     running      Carbonio Docs server sidecar proxy
  carbonio-docs-editor.service                       loaded active     running      Carbonio Docs Server
  carbonio-files-db-sidecar.service                  loaded activating auto-restart Carbonio Files database sidecar
  carbonio-files-sidecar.service                     loaded active     running      Carbonio Files sidecar proxy
  carbonio-files.service                             loaded activating auto-restart Carbonio Files daemon
  carbonio-mailbox-admin-sidecar.service             loaded active     running      Carbonio Mailbox Admin proxy sidecar
  carbonio-mailbox-db-sidecar.service                loaded active     running      Carbonio Mailbox database sidecar
  carbonio-mailbox-nslookup-sidecar.service          loaded activating auto-restart Carbonio Mailbox NSLookup proxy sidecar
  carbonio-mailbox-sidecar.service                   loaded active     running      Mailbox carbonio proxy sidecar
  carbonio-message-broker-sidecar.service            loaded active     running      Carbonio message broker sidecar proxy
  carbonio-message-broker.service                    loaded active     running      Carbonio message broker daemon
  carbonio-message-dispatcher-auth-sidecar.service   loaded active     running      Carbonio Message Dispatcher auth sidecar proxy
  carbonio-message-dispatcher-auth.service           loaded active     running      Carbonio Message Dispatcher auth daemon
  carbonio-message-dispatcher-db-sidecar.service     loaded active     running      Carbonio Message Dispatcher database sidecar
  carbonio-message-dispatcher-http-sidecar.service   loaded active     running      Carbonio Message Dispatcher HTTP sidecar proxy
  carbonio-message-dispatcher-xmpp-sidecar.service   loaded active     running      Carbonio Message Dispatcher XMPP sidecar proxy
  carbonio-message-dispatcher.service                loaded active     running      Carbonio Message Dispatcher daemon
  carbonio-mta-sidecar.service                       loaded active     running      Carbonio mta sidecar proxy
  carbonio-preview-sidecar.service                   loaded activating auto-restart Carbonio Preview sidecar proxy
  carbonio-preview.service                           loaded active     running      Carbonio Preview daemon
  carbonio-prometheus-consul-exporter.service        loaded active     running      Carbonio Prometheus Consul exporter
  carbonio-prometheus-mysqld-exporter.service        loaded active     running      Carbonio Prometheus MySQL exporter
  carbonio-prometheus-nginx-exporter.service         loaded active     running      Carbonio Prometheus NGINX exporter
  carbonio-prometheus-node-exporter.service          loaded active     running      Carbonio Prometheus Node Exporter
  carbonio-prometheus-openldap-exporter.service      loaded active     running      Carbonio Prometheus OpenLDAP exporter
  carbonio-proxy-sidecar.service                     loaded active     running      NGINX carbonio proxy sidecar
  carbonio-storages-sidecar.service                  loaded active     running      Storages-CE sidecar proxy
  carbonio-storages.service                          loaded active     running      Carbonio Storages-CE daemon
  carbonio-tasks-db-sidecar.service                  loaded active     running      Carbonio Tasks database sidecar
  carbonio-tasks-sidecar.service                     loaded activating auto-restart Carbonio Tasks sidecar proxy
  carbonio-tasks.service                             loaded activating auto-restart Carbonio Tasks daemon
  carbonio-user-management-sidecar.service           loaded active     running      Carbonio User Management sidecar proxy
  carbonio-user-management.service                   loaded active     running      Carbonio User Management daemon
  carbonio-videoserver-sidecar.service               loaded active     running      Carbonio Videoserver sidecar proxy
  carbonio-videoserver.service                       loaded active     running      Zextras Videoserver
  carbonio-ws-collaboration-db-sidecar.service       loaded active     running      Carbonio Workstream Collaboration database sidecar
  carbonio-ws-collaboration-sidecar.service          loaded active     running      Carbonio Workstream Collaboration sidecar proxy
  carbonio-ws-collaboration.service                  loaded activating auto-restart Carbonio Workstream Collaboration daemon
  carbonio.service                                   loaded active     exited       LSB: Carbonio Services

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
44 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
This post was modified 4 weeks ago by Jefferson Pereira

   
ReplyQuote
(@jpsilva)
New Member
Joined: 2 years ago
Posts: 14
 
root@mail:~# systemctl status carbonio-files*
● carbonio-files.service - Carbonio Files daemon
     Loaded: loaded (/lib/systemd/system/carbonio-files.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/carbonio-files.service.d
             └─override.conf
     Active: active (running) since Mon 2025-01-27 17:23:41 -03; 1s ago
   Main PID: 2190320 (carbonio-files)
      Tasks: 20 (limit: 28746)
     Memory: 90.6M
        CPU: 2.428s
     CGroup: /system.slice/carbonio-files.service
             ├─2190320 /bin/bash /usr/bin/carbonio-files
             └─2190322 /opt/zextras/common/bin/java -Djava.net.preferIPv4Stack=true -Xmx4096m -Xms4096m -DFILES_LOG_LEVEL=warn -jar /usr/share/carbonio/carbonio-files.jar

Jan 27 17:23:41 mail.myhostname.com.br systemd[1]: Stopped Carbonio Files daemon.
Jan 27 17:23:41 mail.myhostname.com.br systemd[1]: carbonio-files.service: Consumed 4.144s CPU time.
Jan 27 17:23:41 mail.myhostname.com.br systemd[1]: Started Carbonio Files daemon.
Jan 27 17:23:42 mail.myhostname.com.br carbonio-files[2190322]: SLF4J(I): Connected with provider of type [ch.qos.logback.classic.spi.LogbackServiceProvider]

● carbonio-files-db-sidecar.service - Carbonio Files database sidecar
     Loaded: loaded (/lib/systemd/system/carbonio-files-db-sidecar.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Mon 2025-01-27 17:23:39 -03; 3s ago
       Docs:  https://docs.zextras.com/ 
    Process: 2190229 ExecStart=/usr/bin/consul connect envoy -token-file /etc/carbonio/files-db/service-discover/token -admin-bind localhost:0 -sidecar-for carbonio-files-db (code=exited, status=1/FAILURE)
   Main PID: 2190229 (code=exited, status=1/FAILURE)
        CPU: 363ms

● carbonio-files-sidecar.service - Carbonio Files sidecar proxy
     Loaded: loaded (/lib/systemd/system/carbonio-files-sidecar.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2025-01-10 21:27:03 -03; 2 weeks 2 days ago
       Docs:  https://docs.zextras.com/zextras-suite-documentation/latest/ 
   Main PID: 7915 (envoy)
      Tasks: 24 (limit: 28746)
     Memory: 21.3M
        CPU: 6h 48.776s
     CGroup: /system.slice/carbonio-files-sidecar.service
             └─7915 /usr/bin/envoy --config-path /tmp/envoy-18197bc6a25f85e0-bootstrap.json --disable-hot-restart

Notice: journal has been rotated since unit was started, output may be incomplete.
This post was modified 4 weeks ago by Jefferson Pereira

   
ReplyQuote