1

Topic: Error: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

iRedMail version: 1.6.8, downloadable installer
Ubuntu 22.04
iRedAdmin-Pro     5.5 (PostgreSQL)
Nginx

I upgraded the OS from Ubuntu 20.04 to 22.04 this morning. And I am experiencing a few issues. This is the most pressing one.

When I want to edit a user in the Pro interface it displays a red error square saying:
    Error: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')

I have added a screenshot. Searching for answers I only get pointers to malformed JSON.

I have other issues after the upgrade with Roundcube and SOGo, but I assume these are not related.

Regards,
Frank

Post's attachments

Screenshot_20240307_154243.png
Screenshot_20240307_154243.png 89.95 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Error: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')

Please download latest releases of iRedAPD, mlmmjadmin, iRedAdmin-Pro, then upgrade them all. Their upgrade scripts will install required Python modules and adjust config / settings based on your new OS release.

FYI

https://docs.iredmail.org/upgrade.iredapd.html
https://docs.iredmail.org/upgrade.mlmmjadmin.html
https://docs.iredmail.org/migrate.or.up … admin.html

3

Re: Error: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')

Thanks a lot for the quick reply. Error in Admin-Pro interface fixed.

I have SOGo complaining about Bad Gateway
And Roundcube saying:

Oops... something went wrong!

An internal error has occurred. Your request cannot be processed at this time.

For administrators: Please check the application and/or server error logs for more information.

Should I do reinstalls for these too?

With Kind Regards,
Frank

4 (edited by HeuvelTop 2024-03-08 00:03:05)

Re: Error: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')

Just to give an update if someone comes across these postings:

The roundcube problem was solved by remove old versions from /opt/www/. At some point I noticed references made in nginx logs to old version directories. Removed them and it started working.

Have a nice day.