1 (edited by StephGreg 2018-04-30 19:41:12)

Topic: apt-get error when integrating mlmmj

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.7 -> 0.9.8
- Linux/BSD distribution name and version:  Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

This is just a heads up. When you go to install mlmmj and its assoc. packages, (apt-get install mlmmj uwsgi uwsgi-plugin-python uwsgi-plugin-syslog python-requests). This error comes up:

Package uwsgi-plugin-syslog is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  uwsgi-core

E: Package 'uwsgi-plugin-syslog' has no installation candidate

Like it says, if you change the package to "-core", it works. I just completed the upgrade now.

----

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

2 (edited by StephGreg 2018-04-30 20:08:40)

Re: apt-get error when integrating mlmmj

Uh oh. It seems that when I installed mlmmj, I broke iRedAdmin in the process. I upgraded it to 0.9 before mlmmj, and everything seemed to be fine. Now all the CSS/images are gone (the actual content is still there, though).

Post's attachments

Login.png
Login.png 8.51 kb, file has never been downloaded. 

Screenshot_2018-04-30 Dashboard.png 96.94 kb, file has never been downloaded. 

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

3

Re: apt-get error when integrating mlmmj

- Fixed the package name.
- Please empty web browser cache and try again.

4 (edited by StephGreg 2018-05-01 18:53:28)

Re: apt-get error when integrating mlmmj

No dice. I've removed and reinstalled all packages and there is still no styling. I believe this is due to a dpkg error when installing uwsgi-plugin-python. APT reports this error:

/var/lib/dpkg/info/uwsgi-plugin-python.postinst: 61: [: Illegal number:

I've come across a launchpad bug report here. Funnily enough, you yourself submitted it in 2016. It says it's been fixed by Debian, but not by Ubuntu. Strange how these things turn out. Any tips?

EDIT: Ok, its not got anything to do with uwsgi-plugin-python, its NGINX. On the upgrade page, you have fix the iredadmin.template by inserting:

location ~ ^/iredadmin/static/(.*) {            # Remove file types
    alias /var/www/iredadmin/static/$1;         # Remove '.$2'
}

I realise now that v0.9.7 installs iRedAdmin to /opt/www, not /var/www. Oops. Looks like I forgot to read this part:

Note: The path in alias directive is different on different Linux/BSD distributions.

I'll go ahead and close this and respond to anyone else with this problem.