<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — iRedAdmin-Pro-SQL-4.9]]></title>
		<link>https://forum.iredmail.org/topic18417-iredadminprosql49.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic18417.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in iRedAdmin-Pro-SQL-4.9.]]></description>
		<lastBuildDate>Tue, 07 Dec 2021 16:45:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post81488.html#p81488</link>
			<description><![CDATA[<p>Hello,</p><p>I received it and successfully upgraded. User created successfully via APIs.</p>]]></description>
			<author><![CDATA[null@example.com (marius.timukas)]]></author>
			<pubDate>Tue, 07 Dec 2021 16:45:54 +0000</pubDate>
			<guid>https://forum.iredmail.org/post81488.html#p81488</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post81482.html#p81482</link>
			<description><![CDATA[<p>This is a known issue and fixed, i sent you (evaldas.kavaliauskas@) a patched version moment ago, let me know if you didn&#039;t receive it. Please follow our tutorial to upgrade it:<br /><a href="https://docs.iredmail.org/migrate.or.upgrade.iredadmin.html">https://docs.iredmail.org/migrate.or.up … admin.html</a> </p><p>We&#039;re preparing a new iRedMail + iRedAdmin-Pro release.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 07 Dec 2021 14:09:31 +0000</pubDate>
			<guid>https://forum.iredmail.org/post81482.html#p81482</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post81475.html#p81475</link>
			<description><![CDATA[<p>Hello,</p><p>127.0.0.1:39010 - - [06/Dec/2021 17:31:10] &quot;HTTP/1.1 POST /api/login&quot; - 200 OK<br />Traceback (most recent call last):<br />&nbsp; File &quot;/usr/local/lib/python3.6/site-packages/web/application.py&quot;, line 280, in process<br />&nbsp; &nbsp; return self.handle()<br />&nbsp; File &quot;/usr/local/lib/python3.6/site-packages/web/application.py&quot;, line 271, in handle<br />&nbsp; &nbsp; return self._delegate(fn, self.fvars, args)<br />&nbsp; File &quot;/usr/local/lib/python3.6/site-packages/web/application.py&quot;, line 514, in _delegate<br />&nbsp; &nbsp; return handle_class(cls)<br />&nbsp; File &quot;/usr/local/lib/python3.6/site-packages/web/application.py&quot;, line 492, in handle_class<br />&nbsp; &nbsp; return tocall(*args)<br />&nbsp; File &quot;/var/www/iRedAdmin-Pro-SQL-4.9/libs/sqllib/decorators.py&quot;, line 191, in proxyfunc<br />&nbsp; &nbsp; return func(*args, **kw)<br />&nbsp; File &quot;/var/www/iRedAdmin-Pro-SQL-4.9/controllers/sql/api_user.py&quot;, line 74, in POST<br />&nbsp; &nbsp; sql_lib_user.redirect_if_user_is_global_admin(conn=None, mail=mail, for_api=True)<br />TypeError: redirect_if_user_is_global_admin() got an unexpected keyword argument &#039;for_api&#039;</p><p>127.0.0.1:39100 - - [06/Dec/2021 17:32:05] &quot;HTTP/1.1 POST /api/user/test@domain.ltd&quot; - 500 Internal Server Error</p>]]></description>
			<author><![CDATA[null@example.com (marius.timukas)]]></author>
			<pubDate>Mon, 06 Dec 2021 15:33:37 +0000</pubDate>
			<guid>https://forum.iredmail.org/post81475.html#p81475</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post81445.html#p81445</link>
			<description><![CDATA[<p>Could you please try this to get the detailed error log?</p><p>- Start iRedAdmin-Pro from console, it will listen on port 8080 by default:<br /></p><div class="codebox"><pre><code>cd /opt/www/iredadmin/
python3 iredadmin.py</code></pre></div><p>- Now update your API code to use port 8080 (and http, not httpS). Reproduce the error and copy me full console output. I need the log for troubleshooting.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 04 Dec 2021 01:38:31 +0000</pubDate>
			<guid>https://forum.iredmail.org/post81445.html#p81445</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post81396.html#p81396</link>
			<description><![CDATA[<p>Hello,</p><p>Maybe you have a good news about problems with APIs? Only these errors i found in log files, when i try to create user through API:</p><p>[root@mail bin]# curl -X POST -b cookie.txt -d &quot;name=Test Test&amp;password=xxxxxxxxx&amp;language=en_US&quot; <a href="https://mail.domain.ltd/iredadmin/api/user/test@domain.ltd">https://mail.domain.ltd/iredadmin/api/u … domain.ltd</a><br />internal server error[root@mail bin]# <br />[root@mail bin]# curl -X POST -b cookie.txt -d &quot;name=Test Test&amp;password=xxxxxxxxx&amp;language=en_US&quot; <a href="https://mail.domain.ltd/iredadmin/api/user/test1@domain.ltd">https://mail.domain.ltd/iredadmin/api/u … domain.ltd</a><br />internal server error[root@mail bin]# </p><p>[root@mail log]# grep -r test /var/log/*<br />/var/log/dovecot.log:Nov 26 10:36:25 mail iredadmin: [127.0.0.1] POST /iredadmin/api/user/test@domain.ltd 500 242 &quot;-&quot;<br />/var/log/dovecot.log:Nov 26 10:36:34 mail iredadmin: [127.0.0.1] POST /iredadmin/api/user/test1@domain.ltd 500 242 &quot;-&quot;<br />/var/log/nginx/access.log:127.0.0.1 - - [26/Nov/2021:10:36:25 +0200] &quot;POST /iredadmin/api/user/test@domain.ltd HTTP/1.1&quot; 500 32 &quot;-&quot; &quot;curl/7.29.0&quot;<br />/var/log/nginx/access.log:127.0.0.1 - - [26/Nov/2021:10:36:34 +0200] &quot;POST /iredadmin/api/user/test1@domain.ltd HTTP/1.1&quot; 500 32 &quot;-&quot; &quot;curl/7.29.0&quot;</p><p>Email users didn&#039;t create.</p><p>People on the forum are reporting that have the same problem with iRedAdmin-Pro-SQL-4.9 and iRedAdmin-Pro-LDAP-5.0 APIs. </p><p>Maybe here are the problem ? Last version api_user.py is double smaller then previous version.</p><p>[root@mail www]# ls -lR ./iRedAdmin-Pro-SQL-4.[5-9]/controllers/sql/api_user.py<br />-r-xr-xr-x 1 iredadmin iredadmin 24301 Oct 28&nbsp; 2020 ./iRedAdmin-Pro-SQL-4.5/controllers/sql/api_user.py<br />-r-xr-xr-x 1 iredadmin iredadmin 24301 Oct 30&nbsp; 2020 ./iRedAdmin-Pro-SQL-4.6/controllers/sql/api_user.py<br />-r-xr-xr-x 1 iredadmin iredadmin 24301 Dec 18&nbsp; 2020 ./iRedAdmin-Pro-SQL-4.7/controllers/sql/api_user.py<br />-r-xr-xr-x 1 iredadmin iredadmin 24301 Apr 14&nbsp; 2021 ./iRedAdmin-Pro-SQL-4.8/controllers/sql/api_user.py<br />-r-xr-xr-x 1 iredadmin iredadmin 10752 Sep 15 21:44 ./iRedAdmin-Pro-SQL-4.9/controllers/sql/api_user.py</p>]]></description>
			<author><![CDATA[null@example.com (marius.timukas)]]></author>
			<pubDate>Fri, 26 Nov 2021 09:46:41 +0000</pubDate>
			<guid>https://forum.iredmail.org/post81396.html#p81396</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post80979.html#p80979</link>
			<description><![CDATA[<div class="quotebox"><cite>laiyukwa wrote:</cite><blockquote><p>I am using Freebsd 13 and iredmail-1.4.2 with iRedAdmin-Pro-SQL-4.9, and find the following errors showing &quot;internal server error&quot; : -</p></blockquote></div><p>Hi Lai,</p><p>Any error in /var/log/messages or other log files under /var/log/?<br />I can not reproduce this error on my local machine.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 03 Oct 2021 15:56:11 +0000</pubDate>
			<guid>https://forum.iredmail.org/post80979.html#p80979</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post80886.html#p80886</link>
			<description><![CDATA[<p>I am using Freebsd 13 and iredmail-1.4.2 with iRedAdmin-Pro-SQL-4.9, and find the following errors showing &quot;internal server error&quot; : -</p><p>system-&gt;Global Spam Policy --- internal server error<br />create domain -- after creating a domain showing internal server error but such domain can successfully created.<br />create user -- after creating a user showing internal server error but such user can successfully created.<br />Please help.</p><p>Mr. Y. W. Lai</p>]]></description>
			<author><![CDATA[null@example.com (laiyukwa)]]></author>
			<pubDate>Mon, 20 Sep 2021 03:53:46 +0000</pubDate>
			<guid>https://forum.iredmail.org/post80886.html#p80886</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post80874.html#p80874</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Please check /var/log/maillog first, then /var/log/dovecot*.</p></blockquote></div><br /><p>All records from iredadmin goes to /var/log/dovecot.log.<br />Records from postfix/amavis goes to /var/log/maillog.</p><p>I made a litte more testing. In 4.9 version, I can&#039;t create user at all. Don&#039;t work POST function (Mail User).<br />GET/PUT/DELETE functions (Mail User) is working.<br />Then I rollbacked to 4.8 version. All worked correctly.</p><p>In both versions:</p><p>If i try to add non existent user to mail alias, i get answer {&quot;_success&quot;: true}. Actualy, user wasn&#039;t added.<br />In this case I would expect another message.</p><p>root@host bin]# curl -X PUT -b cookie.txt -d &quot;addMember=username@domain.ltd&quot; <a href="https://host.domain.ltd/iredadmin/api/alias/group@domain.ltd">https://host.domain.ltd/iredadmin/api/a … domain.ltd</a><br />{&quot;_success&quot;: true} </p><p>[root@host bin]# curl -X GET -b cookie.txt <a href="https://host.domain.ltd/iredadmin/api/user/username@domain.ltd">https://host.domain.ltd/iredadmin/api/u … domain.ltd</a><br />{&quot;_success&quot;: false, &quot;_msg&quot;: &quot;NO_SUCH_ACCOUNT&quot;}</p>]]></description>
			<author><![CDATA[null@example.com (marius.timukas)]]></author>
			<pubDate>Fri, 17 Sep 2021 20:03:10 +0000</pubDate>
			<guid>https://forum.iredmail.org/post80874.html#p80874</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post80857.html#p80857</link>
			<description><![CDATA[<p>Please check /var/log/maillog first, then /var/log/dovecot*.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 17 Sep 2021 02:27:35 +0000</pubDate>
			<guid>https://forum.iredmail.org/post80857.html#p80857</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post80849.html#p80849</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>marius.timukas wrote:</cite><blockquote><p>Last Logins: IMAP column - show last info, Last Email Delivery - empty column.</p></blockquote></div><p>If no email delivered, then the &quot;Last Email Delivery&quot; column is empty in SQL database.<br /></p><div class="quotebox"><cite>marius.timukas wrote:</cite><blockquote><p>If i try to create new email, that already exists - I get message: internal server error</p></blockquote></div><p>What&#039;s the error in /var/log/messages when you trigger this error?</p></blockquote></div><br /><p>I try to receive email, send email - nothing.&nbsp; Where can i check in SQL ? Which db/table ?</p>]]></description>
			<author><![CDATA[null@example.com (marius.timukas)]]></author>
			<pubDate>Thu, 16 Sep 2021 08:05:31 +0000</pubDate>
			<guid>https://forum.iredmail.org/post80849.html#p80849</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post80848.html#p80848</link>
			<description><![CDATA[<p>Info from /var/log/dovecot.log</p><p>Sep 15 22:22:34 host iredadmin: [127.0.0.1] POST /iredadmin/api/user/username@domain.ltd 500 242 &quot;-&quot;</p>]]></description>
			<author><![CDATA[null@example.com (marius.timukas)]]></author>
			<pubDate>Thu, 16 Sep 2021 07:53:26 +0000</pubDate>
			<guid>https://forum.iredmail.org/post80848.html#p80848</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post80847.html#p80847</link>
			<description><![CDATA[<div class="quotebox"><cite>marius.timukas wrote:</cite><blockquote><p>Last Logins: IMAP column - show last info, Last Email Delivery - empty column.</p></blockquote></div><p>If no email delivered, then the &quot;Last Email Delivery&quot; column is empty in SQL database.<br /></p><div class="quotebox"><cite>marius.timukas wrote:</cite><blockquote><p>If i try to create new email, that already exists - I get message: internal server error</p></blockquote></div><p>What&#039;s the error in /var/log/messages when you trigger this error?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 16 Sep 2021 07:49:48 +0000</pubDate>
			<guid>https://forum.iredmail.org/post80847.html#p80847</guid>
		</item>
		<item>
			<title><![CDATA[iRedAdmin-Pro-SQL-4.9]]></title>
			<link>https://forum.iredmail.org/post80846.html#p80846</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1.4.2<br />- Deployed with iRedMail Easy or the downloadable installer?<br />- Linux/BSD distribution name and version:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CentOS 7.9.2009<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Web server (Apache or Nginx):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Nginx<br />- Manage mail accounts with iRedAdmin-Pro?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Yes<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>&nbsp; Hello,</p><p>After upgrade to last version, I found two problem:</p><p>Last Logins: IMAP column - show last info, Last Email Delivery - empty column.</p><p>API: If i try to create new email, that don&#039;t exists - I get message: {&quot;_success&quot;: true}<br />If i try to create new email, that already exists - I get message: internal server error<br />Info from /var/log/dovecot.log<br />Sep 15 22:22:34 host iredadmin: [127.0.0.1] POST /iredadmin/api/user/username@domain.ltd 500 242 &quot;-&quot;</p><p>Previously there was a message: {&quot;_success&quot;: false, &quot;_msg&quot;: &quot;ALREADY_EXISTS&quot;} </p><br /><p>Regards<br />Marius</p>]]></description>
			<author><![CDATA[null@example.com (marius.timukas)]]></author>
			<pubDate>Thu, 16 Sep 2021 07:47:34 +0000</pubDate>
			<guid>https://forum.iredmail.org/post80846.html#p80846</guid>
		</item>
	</channel>
</rss>
