1

Topic: Failed to open file /opt/www/iredadmin/docs/samples/iredadmin.sql

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

During installation of iredadmin (1.7) using this tutorial: docs.iredmail.org/install.iredadmin.on.debian.html#download-iredadmin-and-configure-apache-web-server i got this error:
```
MariaDB [iredadmin]> SOURCE /opt/www/iredadmin/docs/samples/iredadmin.sql;
ERROR: Failed to open file '/opt/www/iredadmin/docs/samples/iredadmin.sql', error: 2
```

----

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

2 (edited by ajurjevi 2022-06-14 20:44:56)

Re: Failed to open file /opt/www/iredadmin/docs/samples/iredadmin.sql

symlink is not a problem:

[root@test ~]# ls -al /opt/www/          
total 12
drwxr-xr-x  3 root      root      4096 Jun 13 14:40 .
drwxr-xr-x 12 root      root      4096 Jun 10 09:31 ..
lrwxrwxrwx  1 root      root        13 Jun 13 14:40 iredadmin -> iRedAdmin-1.7
dr-xr-xr-x 11 iredadmin iredadmin 4096 Jun 14 14:19 iRedAdmin-1.7

3

Re: Failed to open file /opt/www/iredadmin/docs/samples/iredadmin.sql

ajurjevi wrote:

During installation of iredadmin (1.7) using this tutorial: docs.iredmail.org/install.iredadmin.on.debian.html#download-iredadmin-and-configure-apache-web-server i got this error:

This tutorial is out of date. Please follow this instead:
https://docs.iredmail.org/migrate.or.up … admin.html