Database Locked - use force-unlock option

Since you have tweaked paths, you definitely want to check the recent-files-gramps.xml too. The <Path> for each <Recent Item> will tell you if any of the last 10 trees has been stranded in another folder.

For example, the last 10 trees in my Linux OS for User districtsupport were all from a disable test subfolder:

<?xml version="1.0" encoding="utf-8"?>
<RecentFiles>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/5f261f52]]></Path>
    <Name><![CDATA[Royals]]></Name>
    <Timestamp>1740973459</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/67c482d9]]></Path>
    <Name><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/67c482d9]]></Name>
    <Timestamp>1740931801</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/648d07bc]]></Path>
    <Name><![CDATA[Mercer2023]]></Name>
    <Timestamp>1741484946</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/64f6893a]]></Path>
    <Name><![CDATA[Example52]]></Name>
    <Timestamp>1741461881</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/663ad237]]></Path>
    <Name><![CDATA[Cluster]]></Name>
    <Timestamp>1740085797</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/61f41273]]></Path>
    <Name><![CDATA[_GrampsContacts]]></Name>
    <Timestamp>1741399476</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/627aa799]]></Path>
    <Name><![CDATA[_McCullough_2022_04_Jan28edits_]]></Name>
    <Timestamp>1741497933</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/67a3bf51]]></Path>
    <Name><![CDATA[France]]></Name>
    <Timestamp>1739902187</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/668b6dc7]]></Path>
    <Name><![CDATA[Example]]></Name>
    <Timestamp>1740241871</Timestamp>
  </RecentItem>
  <RecentItem>
    <Path><![CDATA[/home/districtsupport/.gramps/disable/grampsdb/64432098]]></Path>
    <Name><![CDATA[Ferree2023]]></Name>
    <Timestamp>1740877112</Timestamp>
  </RecentItem>
</RecentFiles>