Installing on Ubuntu 24 LTS

381 views
Skip to first unread message

Hans-Arno Mielsch

unread,
Oct 31, 2024, 11:14:21 AM10/31/24
to AtoM Users
Hi there,
on behalf of a social club for archiving history of a part of Hamburg I am trying to install AtoM 2.8.2 on a current Ubuntu 24.
I do it by the steps documented for Ubuntu 20, but fail first long before installing AtoM:

hans-arno@SirFaceU24:~$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK

Is there someone out there who has already managed to install AtoM in Ubuntu 24?
Hints would be great!

Regards,
-Hans-Arno
 

Hans-Arno Mielsch

unread,
Nov 2, 2024, 3:23:30 AM11/2/24
to AtoM Users
OK, nobody out there telling me: "It's just a warning - ignore and continue. It will be successful if ...".
So I ignored the warnings and installed the current versions of PHP (and packages) - turns out to be version 8.3 instead of 7.4 which is not supported in Ubuntu 24.
Ubuntu let me install composer and symfony out of the box.
For composer I had to tweak the version of elasticsearch a bit to make it run (with warnings).

Time to run the climax

php symfony tools:install

which ends in

>> propel    Running "insert-sql" phing task
PHP Deprecated:  Creation of dynamic property sfPhing::$searchForThis is deprecated in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Phing.php on line 281
PHP Warning:  Private methods cannot be final as they are never overridden by other classes in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/AnsiColorLogger.php on line 158
[PHP Error] Return type of ConditionBase::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 49 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 176 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 184 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 188 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 172 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
[PHP Error] Return type of ConditionEnumeration::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [line 192 of /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/condition/ConditionBase.php]
PHP Warning:  Private methods cannot be final as they are never overridden by other classes in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/CvsPassTask.php on line 141
PHP Fatal error:  Declaration of MatchingTask::setProject(Project $project) must be compatible with ProjectComponent::setProject($project) in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/MatchingTask.php on line 62

Deprecated: Creation of dynamic property sfPhing::$searchForThis is deprecated in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Phing.php on line 281

Warning: Private methods cannot be final as they are never overridden by other classes in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/listener/AnsiColorLogger.php on line 158
Buildfile: /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build.xml

Warning: Private methods cannot be final as they are never overridden by other classes in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/CvsPassTask.php on line 141

Fatal error: Declaration of MatchingTask::setProject(Project $project) must be compatible with ProjectComponent::setProject($project) in /usr/share/nginx/atom/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/MatchingTask.php on line 62

Will this be the future of AtoM?

Regards,
-Hans-Arno

Jim Adamson

unread,
Nov 4, 2024, 8:25:35 AM11/4/24
to ica-ato...@googlegroups.com
Hello Hans-Arno,

The supported version of Ubuntu for the current release of AtoM, 2.8.2, is 20.04, per the installation instructions. I understand from this thread that a future release of AtoM will bring support for Ubuntu 22.04, but that this won't be in the next major AtoM release, 2.9.

My own experience is that Ubuntu 22.04 works okay, using a PPA called ondrej/php, that provides PHP 7.4. But I have done only limited testing, so you'd want to test thoroughly if you're planning to use 22.04 in a production environment.

As for Ubuntu 24.04, the leap is obviously a lot bigger than it is from 20.04 → 22.04, so there may well be more dependency hurdles to overcome. Trying to run AtoM 2.8.x with PHP 8.x is quite predictably going to end with errors, and is inadvisable. You could try the above PHP PPA in 24.04, if you really must run 24.04.

I hope that helps.

Thanks, Jim

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ica-atom-users/4ebe1b09-139c-478d-ba4a-be8c13103653n%40googlegroups.com.


--
Jim Adamson
Systems Administrator/Developer
Facilities Management Systems
IT Services
LFA/023 | Harry Fairhurst building | University of York | Heslington | York | YO10 5DD

Johan Pieterse

unread,
Nov 4, 2024, 8:39:01 AM11/4/24
to ica-ato...@googlegroups.com

Hi
I installed on 22.04 but as discussed MySQL 8 failed. I had to roll back to 7.
I also decided to roll back to 20.04 as it works well there


Hans-Arno Mielsch

unread,
Nov 4, 2024, 9:35:57 AM11/4/24
to AtoM Users
Thanks guys - for the bad news :-(

It seems as if the architects chose a thorny way to the future :-(
(I guess: bad luck, no bad will)

I think the promise to use open source components to easily maintain the software isn't much worth
- I did not find a documentation to update the software (because it is not feasible?!)
- @Jim: version 2.9 is news to me - is there a planning? Would be assuring ...
- and there is no description of the current architecture (and planned changes)

I like the features of AtoM and would like to work on it, but I am not a hardcore PHP, symfony, qubit, elasticsearch, ... specialist to dive into the system.
When I look to alternatives, it is quite similar (with different technologies) or you have to pay much for the service.

Sigh,
-Hans-Arno

Johan Pieterse

unread,
Nov 4, 2024, 9:46:05 AM11/4/24
to ica-ato...@googlegroups.com

Hi Hans-Arno
Ver 2.9 as I have it will only be a replacement of elasticsearch with lucene.


Hans-Arno Mielsch

unread,
Nov 4, 2024, 10:00:38 AM11/4/24
to AtoM Users
Ah, I am just stuck with the elastica/elasticsearch dependency of AtoM - so I will stop now.
When will version 2.9 be available?

Sarah Romkey

unread,
Nov 4, 2024, 10:31:16 AM11/4/24
to AtoM Users

Hi folks,

Just jumping on to this thread with a bit of an update from us at Artefactual- we will be getting this info into it's own forum thread for greater visibility- but recent news from Elasticsearch has actually changed our course somewhat.

Long story short, as we described in a previous announcement,  we had been exploring replacing Elasticsearch with Solr because Elasticsearch had changed its license to something that is incompatible with ours. However Elasticsearch has recently announced it will be changing its license BACK to an open source license! We cannot ignore the experience and expertise both ourselves and our community members have built up in using Elasticsearch over the years, so we are now prioritizing staying on Elasticsearch. As an interim measure to getting fully up to date (and while we wait for Elasticsearch to release the new open source version) we plan to upgrade AtoM 2.9 with Elasticsearch 6.x (it is currently on 5.x) which will facilitate PHP upgrades and OS upgrades. Our intention is to have that ready for release before the end of the calendar year.

Our apologies for the lack of communication on this as we get ourselves better organized.

Cheers,

Sarah Romkey

Hans-Arno Mielsch

unread,
Nov 4, 2024, 3:32:47 PM11/4/24
to ica-ato...@googlegroups.com

These are good News - what is the time schedule?

von hier versendet 💬

You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/pEDQkCsDeV8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ica-atom-users/a41c618c-49ba-4c1c-be09-ff0dcebbe598n%40googlegroups.com.

Sarah Romkey

unread,
Nov 5, 2024, 8:35:00 AM11/5/24
to ica-ato...@googlegroups.com
Probably mid-December- hoping to do the 2.9 release before we take a holiday break :)

Cheers,

Sarah

Sarah Romkey, MAS,MLIS
Head of Hosting and SaaS Products
@archivematica / @accesstomemory




Tom Misilo

unread,
Jan 29, 2025, 9:36:51 AMJan 29
to AtoM Users
Hi Sarah!  Is there an updated release timeline for 2.9?

Thank you!
Tom

Sarah Romkey

unread,
Jan 30, 2025, 9:41:51 AMJan 30
to ica-ato...@googlegroups.com
Hi Tom,

Thanks for checking in- we're in the first round of internal testing now so hopefully in the next couple of weeks!

Cheers,

Sarah

Sarah Romkey, MAS,MLIS
Head of Hosting and SaaS Products



Reply all
Reply to author
Forward
0 new messages