Loading bar stuck at the very end after entering login credentials Stuck on the above  screen for over 30 mins.

I’ve tried restarting and rebooting after shutting down - and I get the same result.

This is on a MacBook Pro running Mac OS Mojave. 

update 1 -
I’ve tried booting in recovery mode and running the first aid operation in disk utility. That was all fine. No change with login issue.

update 2 -
I held the power button, restarted and held shift. The machine refuses to boot in safe mode. It goes straight to the normal login page every time, not the safe mode login page(there's no safe mode written in menu bar). I entered my password and had the same stuck bar issue. 

update 3 - 
I have removed FileVault encryption by following this. This link explains how to remove a drive’s encryption from the terminal in recovery mode.

I have then run the disk repair utility on the now unencrypted drive. It’s says everything is good. This didn’t fix the issue. There is now no login screen. I’m stuck with the apple logo and the loading bar in the same place. 



update 4-
I have tried booting in verbose mode. It is unclear if there is any issue. There is no obvious error or repeated logging.

I have also tried single user mode and running fsck -fy as the answer below suggests. That didn’t fix the issue.

I have set to boot-args=“-x” to force safe mode. In what should be safe mode the boot still gets stuck on the above screen with loading bar.
I have fixed the issue.  It manifested after the installation of a driver with an unsigned .kext file.  In this instance, it was from this driver (Roland DJ-202 DRIVER VER.1.0.3). 

At the time I didn't think this was causing the issue because this driver was installed and ran fine on a friend's MacBook Pro running on Mojave. The difference was that his machine is running 10.14.3 and mine is running 10.14.6. It seems that this driver does not work on macOS Mojave 10.14.6.

I discovered the issue after reading through this. After moving all the .kext files to an unsupported folder (see below) I was able to boot successfully boot the machine in safe mode and normal mode.

mount -rw /
cd /Volumes/Macintosh\ HD/Library/Extensions/
mkdir Unsupported
mv *.kext Unsupported
reboot


After reading through this I was able to identify the .kext files that are properly signed by Apple. They are the following 

ACS6x.kext                CIJUSBLoad.kext
ATTOCelerityFC8.kext      CalDigitHDProDrv.kext
ATTOExpressSASHBA2.kext   HighPointIOP.kext
ATTOExpressSASRAID2.kext  HighPointRR.kext
ArcMSR.kext               PromiseSTEX.kext
BJUSBLoad.kext            SoftRAID.kext


I then identified the culprit file from the driver - RDUSB0205Dev.kext.
I moved all the other .kext files back into the /Volumes/Macintosh\ HD/Library/Extensions/ folder.

The machine now boots fine, and everything is back to normal.