Islandora / documentation

Contains islandora's documentation and main issue queue.
MIT License
103 stars 71 forks source link

Installation Hands on #2128

Open Frazer-Nyambe opened 2 years ago

Frazer-Nyambe commented 2 years ago

i'm currently stuck on the step: Installing the Required Karaf Features

when i run the code below: frazer@frazer-Islandora:~$ sudo /opt/karaf/bin/client feature:install activemq-blueprint

i get the output below: Logging in as karaf Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=activemq-blueprint; type=karaf.feature; version="[5.15.11,5.15.11]"; filter:="(&(osgi.identity=activemq-blueprint)(type=karaf.feature)(version>=5.15.11)(version<=5.15.11))" [caused by: Unable to resolve activemq-blueprint/5.15.11: missing requirement [activemq-blueprint/5.15.11] osgi.identity; osgi.identity=activemq; type=karaf.feature; version="[5.15.11,5.15.11]"]

flummingbird commented 2 years ago

I'm not quite sure what's up here, the build instructions do say to use a version of Karaf 4.2.x so they may be out of date with this Karaf version

but can you check contents.

cat /opt/karaf/etc/org.pos4j.pax.logging.cfg

Just want to make sure it matches what's expected.

Frazer-Nyambe commented 2 years ago

I get the output below:

frazer@frazer-Islandora:~$ cat /opt/karaf/etc/org.pos4j.pax.logging.cfg

Root logger

log4j.rootLogger=INFO, out, osgi:* log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer

File appender

log4j.appender.out=org.apache.log4j.RollingFileAppender log4j.appender.out.layout=org.apache.log4j.PatternLayout log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name } - %X{bundle.version} | %m%n log4j.appender.out.file=/var/log/karaf/karaf.log log4j.appender.out.append=true log4j.appender.out.maxFileSize=1MB log4j.appender.out.maxBackupIndex=10

Camel Logger

log4j.appender.camel=org.apache.log4j.RollingFileAppender log4j.appender.camel.layout=org.apache.log4j.PatternLayout log4j.appender.camel.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.na me} - %X{bundle.version} | %m%n log4j.appender.camel.file=/var/log/karaf/camel.log log4j.appender.camel.append=false log4j.appender.camel.maxFileSize=1MB log4j.appender.camel.maxBackupIndex=10

log4j.logger.org.apache.camel=INFO, camel

Islandora Logger

log4j.appender.islandora=org.apache.log4j.RollingFileAppender log4j.appender.islandora.layout=org.apache.log4j.PatternLayout log4j.appender.islandora.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundl e.name} - %X{bundle.version} | %m%n log4j.appender.islandora.file=/var/log/karaf/islandora.log log4j.appender.islandora.append=false log4j.appender.islandora.maxFileSize=1MB log4j.appender.islandora.maxBackupIndex=10

log4j.logger.ca.islandora.camel=INFO, islandora frazer@frazer-Islandora:~$

flummingbird commented 2 years ago

Ok that wasn't it. Your file looks fine.

This part of the error I think is the most important now: Unable to resolve activemq-blueprint/5.15.11: missing requirement

When I was last installing activemq I found the documentation a little lacking: Try checking this

I have a few other things to try.

can you tell me the output of: cat /etc/systemd/system/activemq.service

It should be:

[Unit] Description=Apache Active After=network.target [Service] Type=forking User=activemq Group=activemq

ExecStart=/opt/activemq/bin/activemq start ExecStop=/opt/activemq/bin/activemq stop

[Install] WantedBy=multi-user.target

If it's the same as the above, I think you might just want to try and re-install activemq. Cheers,

Frazer-Nyambe commented 2 years ago

The code below outputs:

frazer@frazer-Islandora:~$ cat /etc/systemd/system/activemq.service cat: /etc/systemd/system/activemq.service: No such file or directory frazer@frazer-Islandora:~$

Frazer-Nyambe commented 2 years ago

frazer@frazer-Islandora:~$ cat /etc/systemd/system/activemq.service cat: /etc/systemd/system/activemq.service: No such file or directory

Frazer-Nyambe commented 2 years ago

Using the suggested trying options i'm getting the below output:

frazer@frazer-Islandora:/tmp$ /opt/activemq/bin/activemq status INFO: Loading '/etc/default/activemq' INFO: Using java '/usr/bin/java' ActiveMQ not running

flummingbird commented 2 years ago

If that's the case I think you need to go back to this step https://islandora.github.io/documentation/installation/manual/installing_karaf_and_alpaca/#activemq-5 If you're able to successfully install activemq I think the step you're on with karaf will resolve.

I think maybe we should ask @seth-shaw-unlv about how we could update the current documentation to reflect the change he mentioned where the build may not need karaf. Seth if I'm incorrect or misrepresenting what you said on the other issue please let me know.

Frazer-Nyambe commented 2 years ago

I've gone back to the specified step of installing Activemq, but still facing the same issue.

On Sat, Jul 9, 2022, 06:29 Will @.***> wrote:

If that's the case I think you need to go back to this step https://islandora.github.io/documentation/installation/manual/installing_karaf_and_alpaca/#activemq-5 If you're able to successfully install activemq I think the step you're on with karaf will resolve.

I think maybe we should ask @seth-shaw-unlv https://github.com/seth-shaw-unlv about how we could update the current documentation to reflect the change he mentioned where the build may not need karaf. Seth if I'm incorrect or misrepresenting what you said on the other issue please let me know.

— Reply to this email directly, view it on GitHub https://github.com/Islandora/documentation/issues/2128#issuecomment-1179476994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV33MNBHW3IP7T4SZKKCMWDVTD5ZJANCNFSM52UIF2KQ . You are receiving this because you authored the thread.Message ID: @.***>

-- CONFIDENTIAL NOTICE: This message (and its attachments) may contain confidential information. Any unauthorized use or disclosure is prohibited. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system.

Frazer-Nyambe commented 2 years ago

This issue still remains unresolved.... Kindly assist me with the instructions for installing Alpaca 2, which does not need karaf.

flummingbird commented 2 years ago

If that's the case I think you need to go back to this step https://islandora.github.io/documentation/installation/manual/installing_karaf_and_alpaca/#activemq-5 If you're able to successfully install activemq I think the step you're on with karaf will resolve.

I think maybe we should ask @seth-shaw-unlv about how we could update the current documentation to reflect the change he mentioned where the build may not need karaf. Seth if I'm incorrect or misrepresenting what you said on the other issue please let me know.

flummingbird commented 2 years ago

Frazer, Are you aware of the google group? I think we may be better off getting help there.

https://groups.google.com/g/islandora

Frazer-Nyambe commented 2 years ago

No, I'm not. Kindly assist me on how to go about it.

On Mon, Jul 18, 2022, 19:39 Will @.***> wrote:

Frazer, Are you aware of the google group? I think we may be better off getting help there.

https://groups.google.com/g/islandora

— Reply to this email directly, view it on GitHub https://github.com/Islandora/documentation/issues/2128#issuecomment-1187903996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV33MNECQNPN7IHQ536NNDLVUWJF5ANCNFSM52UIF2KQ . You are receiving this because you authored the thread.Message ID: @.***>

-- CONFIDENTIAL NOTICE: This message (and its attachments) may contain confidential information. Any unauthorized use or disclosure is prohibited. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system.