quota error on fres...
 
Notifications
Clear all

quota error on fresh install

20 Posts
3 Users
1 Reactions
926 Views
(@jrmchp)
Joined: 7 years ago
Posts: 17
Topic starter  

Hello, 

Just installed a fresh carbonio Ce (24.1.0) on Ubuntu 20.04.6 LTS

i've created a domain, all setup, new cos with 10240Mb quota for all. 

 

i cannot send an email or receive mail. On webmail, when i send, i've got a fast red message, something went wrong, retry (translated from french, sorry if not exact). and nothing. 

If i look at the mailbox.log i've got : 

When i send: 

2024-02-14 09:31:56,562 WARN  [qtp261845810-136] [name=jeremy@france.fr;mid=7;ip=X.X.X.X;oip=X.X.X.X;port=47892;ua=CarbonioWebClient - Chrome 121.0.0.0 (Mac OS)/24.1.0_ZEXTRAS_202401 carbonio 20240104-1254 FOSS;soapId=1c604289;] SoapEngine - handler exception
com.zimbra.cs.mailbox.MailServiceException: mailbox exceeded quota of 1024 bytes
	at com.zimbra.cs.mailbox.MailServiceException.QUOTA_EXCEEDED(MailServiceException.java:569) ~[zimbrastore.jar:?]
	at com.zimbra.cs.mailbox.Mailbox.checkSizeChange(Mailbox.java:1340) ~[zimbrastore.jar:?]
	at com.zimbra.cs.mailbox.Mailbox.addMessageInternal(Mailbox.java:6924) ~[zimbrastore.jar:?]
	at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.java:6753) ~[zimbrastore.jar:?]
	at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.java:6649) ~[zimbrastore.jar:?]
	at com.zimbra.cs.mailbox.Mailbox.addMessage(Mailbox.java:6639) ~[zimbrastore.jar:?]
	at com.zimbra.cs.filter.OutgoingMessageHandler.explicitKeep(OutgoingMessageHandler.java:91) ~[zimbrastore.jar:?]
	at com.zimbra.cs.filter.OutgoingMessageHandler.implicitKeep(OutgoingMessageHandler.java:135) ~[zimbrastore.jar:?]
	at com.zimbra.cs.filter.ZimbraMailAdapter.keep(ZimbraMailAdapter.java:528) ~[zimbrastore.jar:?]
	at com.zimbra.cs.filter.RuleManager.applyRulesToOutgoingMessage(RuleManager.java:496) ~[zimbrastore.jar:?]
	at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:732) ~[zimbrastore.jar:?]
	at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:558) ~[zimbrastore.jar:?]
	at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:534) ~[zimbrastore.jar:?]
	at com.zimbra.cs.service.mail.SendMsg.doSendMessage(SendMsg.java:358) ~[zimbrastore.jar:?]
	at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg.java:245) ~[zimbrastore.jar:?]
	at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg.java:101) ~[zimbrastore.jar:?]
	at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:684) ~[zimbrastore.jar:?]
	at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:508) ~[zimbrastore.jar:?]
	at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:278) ~[zimbrastore.jar:?]
	at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:338) ~[zimbrastore.jar:?]
	at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:239) ~[zimbrastore.jar:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[servlet-api-3.1.jar:3.1.0]
	at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:208) ~[zimbrastore.jar:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[servlet-api-3.1.jar:3.1.0]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:292) ~[websocket-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at com.zimbra.cs.servlet.CsrfFilter.doFilter(CsrfFilter.java:152) ~[zimbrastore.jar:?]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:43) ~[zimbrastore.jar:?]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:48) ~[zimbrastore.jar:?]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ETagHeaderFilter.java:36) ~[zimbrastore.jar:?]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:95) ~[zimbrastore.jar:?]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:113) ~[zimbrastore.jar:?]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(ZimbraInvalidLoginFilter.java:119) ~[zimbrastore.jar:?]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:487) ~[jetty-servlets-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:336) ~[jetty-servlets-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:301) ~[jetty-servlets-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) ~[guice-servlet-5.0.1.jar:?]
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121) ~[guice-servlet-5.0.1.jar:?]
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133) ~[guice-servlet-5.0.1.jar:?]
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571) ~[jetty-security-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505) ~[jetty-servlet-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322) ~[jetty-rewrite-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) ~[jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) [jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) [jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) [jetty-server-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [jetty-io-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [jetty-io-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [jetty-io-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
	at java.lang.Thread.run(Thread.java:833) [?:?]

 

When i try to receive: 

2024-02-14 09:58:40,765 INFO  [LmtpServer-1] [name=jeremy@france.fr;mid=7;ip=X.X.X.X;] lmtp - rejecting message from=jerem@mydomain.fr,to=jeremy@france.fr: overquota

 

I dont understand where that message comes from ? (quota has been forced to 4Gb, same issue.)

 

zextras@Carbonio:~$ zmprov ga jeremy@france.fr |grep -i quota
zimbraDataSourceQuota: 0
zimbraDataSourceTotalQuota: 0
zimbraMailAllowReceiveButNotSendWhenOverQuota: FALSE
zimbraMailQuota: 4294967296
zimbraQuotaWarnInterval: 1d
zimbraQuotaWarnMessage: From: Postmaster <postmaster@${RECIPIENT_DOMAIN}>${NEWLINE}To: ${RECIPIENT_NAME} <${RECIPIENT_ADDRESS}>${NEWLINE}Subject: Quota warning${NEWLINE}Date: ${DATE}${NEWLINE}Content-Type: text/plain${NEWLINE}${NEWLINE}Your mailbox size has reached ${MBOX_SIZE_MB}MB, which is over ${WARN_PERCENT}% of your ${QUOTA_MB}MB quota.${NEWLINE}Please delete some messages to avoid exceeding your quota.${NEWLINE}
zimbraQuotaWarnPercent: 90

Thank you for your help. 


   
Quote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jrmchp

Hi,

Could you please share the output of below commands:

carbonio prov ga <email_account> | grep -e 'zimbraMailQuota' -e 'zimbraCOSId'

and

carbonio prov gc <cos_name> | grep -e 'name' -e 'zimbraId' -e 'zimbraMailQuota'

Regards,

Sharif


   
ReplyQuote
(@jrmchp)
Joined: 7 years ago
Posts: 17
Topic starter  

Hi:

First: 

zextras@T6v-Carbonio:~$ carbonio prov ga jeremy@france.fr | grep -e 'zimbraMailQuota' -e 'zimbraCOSId'
zimbraCOSId: dd5984f7-c08a-477d-99d8-758d11e18972
zimbraMailQuota: 10737418240

And second: 

 

zextras@T6v-Carbonio:~$ carbonio prov gc t6_2024 | grep -e 'name' -e 'zimbraId' -e 'zimbraMailQuota'
# name t6_2024
zimbraId: dd5984f7-c08a-477d-99d8-758d11e18972
zimbraIdentityMaxNumEntries: 20
zimbraMailQuota: 10737418240

   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jrmchp 

Hi,

The quota settings seems fine.

Could you please share this outputs:

carbonio prov gqu $(hostname -f)|grep jeremy@france.fr|awk {'print $1" "$3" "$2'}| cut -f2 -d " "

and

carbonio prov gqu $(hostname -f)|grep jeremy@france.fr|awk {'print $1" "$3" "$2'}| cut -f3 -d " "

 

I checked and found the COS and user allocation is working properly. But still we will look into it.

 

Regards,

Sharif


   
ReplyQuote
(@jrmchp)
Joined: 7 years ago
Posts: 17
Topic starter  

Here my results: 

 

zextras@T6v-Carbonio:~$ carbonio prov gqu $(hostname -f)|grep jeremy@france.fr|awk {'print $1" "$3" "$2'}| cut -f2 -d " "
754

 

zextras@T6v-Carbonio:~$ carbonio prov gqu $(hostname -f)|grep jeremy@france.fr|awk {'print $1" "$3" "$2'}| cut -f3 -d " "
1024

 


   
ReplyQuote
(@jrmchp)
Joined: 7 years ago
Posts: 17
Topic starter  
zextras@T6v-Carbonio:~$ carbonio prov gqu $(hostname -f)
jch@pra.com 10240 14536
zextras@pra.com 10240 8839
jeremy@france.fr 1024 754
demo-ligue@pra.com 10240 0
frederic@france.fr 1024 0
galsync.qp877nxjvx@pra.com 10240 0
galsync@france.fr 1024 0
ham.v1mc6lrccs@pra.com 10240 0
laurent@france.fr 1024 0
mathieu@france.fr 1024 0
ophelien@france.fr 1024 0
spam.irt3r70t@pra.com 10240 0
virus-quarantine._mxoq6ek0a@pra.com 10240 0

If run the command without the grep part, all account for this domain got the 1024 first value. The default domain created during install seems good. 

 

 


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jrmchp

Hi, 

The first is the used space for that account and the second value is the quota set for that account (where 0 means unlimited). I see some inconsistencies in your outputs.

the last one shows the quota of jeremy is 754 but the mailbox utilization is 1024. Also, these values are in bytes.

Like if I set a mailbox quota 10 GB then the value would be like:

zextras@mail:~$ carbonio prov gqu $(hostname -f)|grep test1@enterprisemailpro.xyz|awk {'print $1" "$3" "$2'}| cut -f3 -d " "   
10737418240

And the current utilization:

zextras@mail:~$ carbonio prov gqu $(hostname -f)|grep test1@enterprisemailpro.xyz|awk {'print $1" "$3" "$2'}| cut -f2 -d " "
3603143

 

Regards,

Sharif

This post was modified 9 months ago by Md. Shariful Islam

   
ReplyQuote
(@jrmchp)
Joined: 7 years ago
Posts: 17
Topic starter  

Ok so where is the bug? In the COS ? 

when i zmprov ga my account, it shows the 10Gb quota.


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jrmchp 

Hi,

Could you please share the screenshot of the advanced segment of your COS & General Details of your user?

Regards,

Sharif


   
ReplyQuote
(@jrmchp)
Joined: 7 years ago
Posts: 17
Topic starter  

Don't know if i can upload img here so : 

https://ibb.co/qNPfmWt

https://ibb.co/XsD0jwg


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jrmchp 

Hi,

I got the screenshots. It shows values are set properly.

Please tell us anything about your system that could help us to recreate the scenario.
I'll make sure to check with the team.

Regards,

Sharif


   
ReplyQuote
(@jrmchp)
Joined: 7 years ago
Posts: 17
Topic starter  

Just a stock ubuntu and an install following your processes. If needed i can send you an admin / root access, it's just a test vm. It's my second install, same error  on each. 

 

 


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jrmchp 

Hi,

One last favor 🙏

Just install Carbonio CE using the following instructions and let me know your feedback:

# Add Zextras repository

apt clean all
apt update && apt upgrade -y

sudo hostnamectl set-hostname mail.example.com

> /etc/hosts
echo "127.0.0.1 localhost" >> /etc/hosts
echo "$(hostname -i) $(hostname -f) $(hostname -s)" >> /etc/hosts

timedatectl set-timezone Asia/Dhaka

apt install postgresql-12 -y

read -s -p "Password:" DB_ADM_PWD

su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password '$DB_ADM_PWD';\""
su - postgres -c "psql --command=\"CREATE DATABASE carbonio_adm owner carbonio_adm;\""

systemctl restart postgresql

apt install service-discover-server carbonio-directory-server carbonio-files-db \
carbonio-mailbox-db carbonio-docs-connector-db carbonio-tasks-db carbonio-proxy carbonio-webui carbonio-files-ui \
carbonio-tasks-ui carbonio-files-public-folder-ui \
carbonio-user-management carbonio-mta carbonio-appserver \
carbonio-storages-ce carbonio-files-ce carbonio-preview-ce \
carbonio-docs-connector-ce carbonio-tasks-ce carbonio-docs-editor carbonio-prometheus -y

carbonio-bootstrap

service-discover setup-wizard

pending-setups -a

PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1

PGPASSWORD=$DB_ADM_PWD carbonio-tasks-db-bootstrap carbonio_adm 127.0.0.1

apt install carbonio-message-dispatcher-db -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1

apt install carbonio-message-dispatcher -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000


apt install carbonio-message-broker -y
pending-setups -a

apt install carbonio-ws-collaboration-db -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1

apt install carbonio-ws-collaboration-ce -y
pending-setups -a

apt install carbonio-videoserver-ce -y
pending-setups -a

apt install carbonio-ws-collaboration-ui -y
su - zextras -c "carbonio prov mc default carbonioFeatureChatsEnabled TRUE"

systemctl enable carbonio-tasks
systemctl restart carbonio-tasks
systemctl enable carbonio-videoserver
systemctl restart carbonio-videoserver
systemctl restart carbonio-prometheus-nginx-exporter.service


consul members
su - zextras -c "zmcontrol -v"
su - zextras -c "zmcontrol restart"
su - zextras -c "zmcontrol status"
systemctl list-units carbonio*

reboot now

After reboot restart these services:

systemctl restart carbonio-message-broker
systemctl restart carbonio-videoserver
systemctl restart carbonio-ws-collaboration
systemctl restart carbonio-message-dispatcher
systemctl restart carbonio-tasks
systemctl restart carbonio-prometheus-nginx-exporter.service

 

Regards,

Sharif


   
ReplyQuote
(@jrmchp)
Joined: 7 years ago
Posts: 17
Topic starter  

@sharif Hi, tried a new install, seems good for now with your setup guide. 

 

Don't understand why it has gone wrong with my first try. 

 

I'll continue my test. Thanks! 


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 591
 

@jrmchp 

Hi,

Thanks for your time and help.🙏

We are working on these kinds of issues so that our users can have a smooth experience but we request you to stay with us with your valuable feedback.

Have a good day!

Regards,

Sharif


   
ReplyQuote
Page 1 / 2