Difference between revisions of "Issues with Installing EPrints on Ubuntu 24.04"

From EPrints Documentation
Jump to: navigation, search
m
m (Previous Issues)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''N.B. It is assumed that you are installing the [[:Category:Eprints3.4 | latest version of 3.4]]. Earlier versions may have issues not listed here.'''
 
'''N.B. It is assumed that you are installing the [[:Category:Eprints3.4 | latest version of 3.4]]. Earlier versions may have issues not listed here.'''
  
==== libncurses5 no longer available ====
+
==== Previous Issues ====
<code>libncurses5</code> APT package dependency no longer exists in Ubuntu 24.04 LTS, install <code>libncurses6</code> instead.
+
; MySQL root user cannot be used : This is now explained under EPrints' [[Getting Started]] instructions. As it is typical for most modern Linux operating systems.
 
+
; <code>libncurses5</code> APT package dependency no longer exists : Install <code>libncurses6</code> instead. However, as both Ubuntu 24.04 and Ubuntu 26.04 only have libncurses6 the general instructions have been updated to use libncurses6, so this is no longer an issue.
==== MySQL root user cannot be used ====
 
On Ubuntu 24.04 LTS rather than prompting you to set a password for MySQL server when installing this as a dependency, it just installs it without. However, this means on the root user can login to MySQL to add a database.  As "epadmin create" runs at the eprints user, this will not be able to create a database for EPrints.  The get round this as the root user connect to MySQL (just type "mysql" at the command line) and type the following two commands.  You will want to set your own password (i.e. not 'changeme') , you may also want to restrict which databases the eprints user has control over.  If you know the "Archive ID" you are going to use.
 
CREATE USER 'eprints'@'localhost' IDENTIFIED by 'changeme';
 
GRANT ALL PRIVILEGES ON *.* TO 'eprints'@'localhost' WITH GRANT OPTION;
 

Latest revision as of 15:06, 1 May 2026

N.B. It is assumed that you are installing the latest version of 3.4. Earlier versions may have issues not listed here.

Previous Issues

MySQL root user cannot be used 
This is now explained under EPrints' Getting Started instructions. As it is typical for most modern Linux operating systems.
libncurses5 APT package dependency no longer exists 
Install libncurses6 instead. However, as both Ubuntu 24.04 and Ubuntu 26.04 only have libncurses6 the general instructions have been updated to use libncurses6, so this is no longer an issue.