Landing Page Images Missing, /bahmni/home not working

Something is off about my installation, but I’m not sure what. I have created a CentOS 7.6 server, firewall is configured correctly, SSL is configured correctly. All the services are running without errors. I have two errors, both of which are related I think.

Issue 1: Landing Page Images Missing

HTTP requests for the images return a 404 NOT Found. I checked and the images exist on the server

[azureuser@bahmani-web1 ~]$ ls -lh /var/www/bahmniapps/
total 16K
drwxr-xr-x.  3 bahmni bahmni   96 Nov 25 04:39 admin
drwxr-xr-x.  3 bahmni bahmni   92 Nov 25 04:39 adt
drwxr-xr-x.  3 bahmni bahmni  110 Nov 25 04:39 appointments
drwxr-xr-x.  3 bahmni bahmni  112 Nov 25 04:39 bedmanagement
drwxr-xr-x.  8 bahmni bahmni  262 Nov 25 04:39 clinical
drwxr-xr-x. 13 bahmni bahmni  215 Nov 25 04:39 common
drwxr-xr-x. 40 bahmni bahmni 4.0K Nov 25 04:39 components
drwxr-xr-x.  3 bahmni bahmni  116 Nov 25 04:39 document-upload
-rwxr-xr-x.  1 bahmni bahmni 6.2K Jun 17 07:49 favicon.ico
drwxr-xr-x.  3 bahmni bahmni  146 Nov 25 04:39 home
drwxr-xr-x. 13 bahmni bahmni  171 Nov 25 04:39 i18n
drwxr-xr-x.  2 bahmni bahmni 4.0K Nov 25 04:39 images
drwxr-xr-x.  6 bahmni bahmni  120 Nov 25 04:39 lib
drwxr-xr-x.  3 bahmni bahmni   98 Nov 25 04:39 orders
drwxr-xr-x.  3 bahmni bahmni   90 Nov 25 04:39 ot
drwxr-xr-x.  3 bahmni bahmni  150 Nov 25 04:39 registration
drwxr-xr-x.  3 bahmni bahmni  100 Nov 25 04:39 reports
drwxr-xr-x.  4 bahmni bahmni  257 Nov 25 04:39 styles
[azureuser@bahmani-web1 ~]$ ls -lh /var/www/bahmniapps/images/
total 412K
-rwxr-xr-x. 1 bahmni bahmni 2.3K Jun 17 07:49 app.png
-rwxr-xr-x. 1 bahmni bahmni  27K Jun 17 07:49 bahmniLogoFull.png
-rwxr-xr-x. 1 bahmni bahmni  39K Jun 17 07:49 bahmniLogo.png
-rwxr-xr-x. 1 bahmni bahmni  331 Jun 17 07:49 bars.png
-rwxr-xr-x. 1 bahmni bahmni  238 Jun 17 07:49 bed-available.png
-rwxr-xr-x. 1 bahmni bahmni  491 Jun 17 07:49 bed-occupied.png
-rwxr-xr-x. 1 bahmni bahmni 2.3K Jun 17 07:49 bills.png
-rwxr-xr-x. 1 bahmni bahmni  636 Jun 17 07:49 blank.jpeg
-rwxr-xr-x. 1 bahmni bahmni 1.2K Jun 17 07:49 blank-user.gif
-rwxr-xr-x. 1 bahmni bahmni 2.3K Jun 17 07:49 blank-user.png
-rwxr-xr-x. 1 bahmni bahmni  677 Jun 17 07:49 close-bars.png
-rwxr-xr-x. 1 bahmni bahmni  19K Jun 17 07:49 connect.png
-rwxr-xr-x. 1 bahmni bahmni  446 Jun 17 07:49 create.png
-rwxr-xr-x. 1 bahmni bahmni  546 Jun 17 07:49 dark-texture.png
-rwxr-xr-x. 1 bahmni bahmni  814 Jun 17 07:49 edit.png
-rwxr-xr-x. 1 bahmni bahmni 2.5K Jun 17 07:49 endTb.png
-rwxr-xr-x. 1 bahmni bahmni   89 Jun 17 07:49 form_sheetbg.png
-rwxr-xr-x. 1 bahmni bahmni  13K Jun 17 07:49 glyphicons-halflings.png
-rwxr-xr-x. 1 bahmni bahmni 8.6K Jun 17 07:49 glyphicons-halflings-white.png
-rwxr-xr-x. 1 bahmni bahmni  640 Jun 17 07:49 icon-paper-clip.png
-rwxr-xr-x. 1 bahmni bahmni 5.9K Jun 17 07:49 jss-icon.png
-rwxr-xr-x. 1 bahmni bahmni 2.7K Jun 17 07:49 jss_logo.png
-rwxr-xr-x. 1 bahmni bahmni 2.2K Jun 17 07:49 lab.png
-rwxr-xr-x. 1 bahmni bahmni  164 Jun 17 07:49 light-texture.png
-rwxr-xr-x. 1 bahmni bahmni  16K Jun 17 07:49 loader.gif
-rwxr-xr-x. 1 bahmni bahmni  579 Jun 17 07:49 next.png
-rwxr-xr-x. 1 bahmni bahmni  72K Jun 17 07:49 nhn-logo.png
-rwxr-xr-x. 1 bahmni bahmni  19K Jun 17 07:49 pac.png
-rwxr-xr-x. 1 bahmni bahmni  707 Jun 17 07:49 patient-summary.png
-rwxr-xr-x. 1 bahmni bahmni  443 Jun 17 07:49 patient-switch1.png
-rwxr-xr-x. 1 bahmni bahmni 5.3K Jun 17 07:49 patient-switch.png
-rwxr-xr-x. 1 bahmni bahmni 8.9K Jun 17 07:49 pdfIcon.png
-rwxr-xr-x. 1 bahmni bahmni 2.1K Jun 17 07:49 photo.png
-rwxr-xr-x. 1 bahmni bahmni  540 Jun 17 07:49 prev.png
-rwxr-xr-x. 1 bahmni bahmni  15K Jun 17 07:49 progress-bar.gif
-rwxr-xr-x. 1 bahmni bahmni 1.2K Jun 17 07:49 refill-icon.png
-rwxr-xr-x. 1 bahmni bahmni  28K Jun 17 07:49 spinner.gif
-rwxr-xr-x. 1 bahmni bahmni 2.3K Jun 17 07:49 spinner-small.gif
-rwxr-xr-x. 1 bahmni bahmni  847 Jun 17 07:49 sync.gif
-rwxr-xr-x. 1 bahmni bahmni 7.6K Jun 17 07:49 twlogo.png
-rwxr-xr-x. 1 bahmni bahmni  370 Jun 17 07:49 warning.png

Issue 2: /bahmni/home returns 404

Not Found
The requested URL /bahmni/home was not found on this server.
Apache/2.4.6 (CentOS) Server at *****.*********.*** Port 443

Logs

In /var/log/openmrs/openmrs.log, I see the following error:

25-11-2020 11:04:10 [WARN ] SimpleUrlHandlerMapping - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
25-11-2020 11:04:12 [WARN ] RefillIdentifierPoolsTask - Not running scheduled task. DaemonToken = null; enabled = false
25-11-2020 11:04:16 [ERROR] OpenElisPatientFailedEventsFeedClientImpl - openelisatomfeedclient:failed feed execution while running failed eventsjava.lang.NullPointerException
java.lang.NullPointerException
        at org.bahmni.module.bahmnicore.properties.BahmniCoreProperties.getProperty(BahmniCoreProperties.java:28)
        at org.bahmni.module.elisatomfeedclient.api.ElisAtomFeedProperties.getPatientFeedUri(ElisAtomFeedProperties.java:19)
        at org.bahmni.module.elisatomfeedclient.api.client.impl.OpenElisPatientFailedEventsFeedClientImpl.getFeedUri(OpenElisPatientFailedEventsFeedClientImpl.java:49)
        at org.bahmni.module.elisatomfeedclient.api.client.OpenElisFeedClient.createAtomFeedClient(OpenElisFeedClient.java:55)
        at org.bahmni.module.elisatomfeedclient.api.client.OpenElisFeedClient.getAtomFeedClient(OpenElisFeedClient.java:49)
        at org.bahmni.module.elisatomfeedclient.api.client.impl.OpenElisPatientFailedEventsFeedClientImpl.processFailedEvents(OpenElisPatientFailedEventsFeedClientImpl.java:69)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
        at com.sun.proxy.$Proxy293.processFailedEvents(Unknown Source)
        at org.bahmni.module.elisatomfeedclient.api.task.OpenElisPatientFeedFailedEventsTask.execute(OpenElisPatientFeedFailedEventsTask.java:13)
        at org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper.execute(TaskThreadedInitializationWrapper.java:67)
        at org.openmrs.scheduler.timer.TimerSchedulerTask.execute(TimerSchedulerTask.java:94)
        at org.openmrs.api.context.Daemon$2.run(Daemon.java:135)
25-11-2020 11:04:16 [ERROR] TimerSchedulerTask - FATAL ERROR: Task [class org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper] failed due to exception [java.lang.RuntimeException]
java.lang.RuntimeException: java.lang.NullPointerException
        at org.bahmni.module.elisatomfeedclient.api.client.impl.OpenElisPatientFailedEventsFeedClientImpl.processFailedEvents(OpenElisPatientFailedEventsFeedClientImpl.java:80)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
        at com.sun.proxy.$Proxy293.processFailedEvents(Unknown Source)
        at org.bahmni.module.elisatomfeedclient.api.task.OpenElisPatientFeedFailedEventsTask.execute(OpenElisPatientFeedFailedEventsTask.java:13)
        at org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper.execute(TaskThreadedInitializationWrapper.java:67)
        at org.openmrs.scheduler.timer.TimerSchedulerTask.execute(TimerSchedulerTask.java:94)
        at org.openmrs.api.context.Daemon$2.run(Daemon.java:135)
Caused by: java.lang.NullPointerException
        at org.bahmni.module.bahmnicore.properties.BahmniCoreProperties.getProperty(BahmniCoreProperties.java:28)
        at org.bahmni.module.elisatomfeedclient.api.ElisAtomFeedProperties.getPatientFeedUri(ElisAtomFeedProperties.java:19)
        at org.bahmni.module.elisatomfeedclient.api.client.impl.OpenElisPatientFailedEventsFeedClientImpl.getFeedUri(OpenElisPatientFailedEventsFeedClientImpl.java:49)
        at org.bahmni.module.elisatomfeedclient.api.client.OpenElisFeedClient.createAtomFeedClient(OpenElisFeedClient.java:55)
        at org.bahmni.module.elisatomfeedclient.api.client.OpenElisFeedClient.getAtomFeedClient(OpenElisFeedClient.java:49)
        at org.bahmni.module.elisatomfeedclient.api.client.impl.OpenElisPatientFailedEventsFeedClientImpl.processFailedEvents(OpenElisPatientFailedEventsFeedClientImpl.java:69)
        ... 11 more
25-11-2020 11:04:17 [WARN ] OpenmrsUtil - Unable to find a runtime properties file at /openmrs-runtime.properties
25-11-2020 11:04:17 [WARN ] OpenmrsUtil - Unable to find a runtime properties file at /openmrs-runtime.properties