<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>note &amp;mdash; maxvel&#39;s markups</title>
    <link>https://maxvel.writeas.com/tag:note</link>
    <description>My little corner of the internet!</description>
    <pubDate>Tue, 30 Jun 2026 21:42:48 +0000</pubDate>
    <item>
      <title>A Terrifying Morning.. 🤦🏻‍♂️</title>
      <link>https://maxvel.writeas.com/a-terrifying-morning?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Well, this morning, I woke up to a shock because, my archive of photos and videos amounting to 15GB’s had been mysteriously disappeared. This happened while I was testing Photoprism and Seafile on my self hosted setup after this post. I was migrating my photos and videos from Nextcloud to Photoprism from WebDav. It caught me off-guard and this is just a note I want to make so that I can look back and laugh at my stupidity!&#xA;&#xA;!--more--&#xA;&#xA;So, What Happened?&#xA;&#xA;I was trying to move photos from Nextcloud to Photoprism (Docker). Photoprism has a feature where I can add a WebDav folder and it will sync the photos automatically. That’s great! Because I don’t need to download the photos manually and then upload it to Photoprism. I was seriously liking the whole process and it made my life a bit simpler while setting up these services. After the sync, I deleted the WebDav folder from Nextcloud (of which the photos were synced) like a good boy since the photos were already copied and started organising the photos in Photoprism.&#xA;&#xA;It was genuinely a good productive day. Things had gone as per the plan and it couldn’t have been any better. And I called it a day and had a very sound sleep.&#xA;&#xA;The next day, to my surprise, the photos that I carefully collected over the years were lost (Mysteriously). There was nothing more terrifying at that moment when I saw my gallery folder empty!!&#xA;&#xA;Yeah, But How?&#xA;&#xA;Apparently, Photoprism and Nextcloud folder was on sync. That means, whenever the folder in Nextcloud changes, Photoprism also does that change in its folder and its consequent database.&#xA;&#xA;  After the sync, Like I deleted the WebDav folder from Nextcloud (of which the photos were synced) like a good boy and started organising the photos in Photoprism.&#xA;&#xA;This is where I did a blunder and everything was gone! Since Photoprism saw no photos in the Nextcloud folder, it went ahead and deleted everything from its folder. Simple!&#xA;&#xA;And, How did you recover them?&#xA;&#xA;So, Nextcloud has a built in trash feature which I had enabled while I had installed Nextcloud in my server. After the migration, I had deleted the Nextcloud folder in the Nextcloud web interface which will move the folder from files to filestrash.&#xA;&#xA;It took me a while to get there since webui in Nextcloud was unresponsive and amidst all this confusion, I forgot that there was even a files_trash folder in the Nextcloud setup. I should have removed the Nextcloud - Photoprism sync first before deleting one of the folders.&#xA;&#xA;Then a quick copy and import recovered all the photos and videos. However then I carefully deleted my Nextcloud without affecting any other components in the setup. Phew! it was a really long morning. A Lesson for Life.&#xA;&#xA;Categorized under #Note&#xA;&#xA;Tags : #Lessons4Life #Nextcloud #PhotoPrism #Seafile #Photos #Videos&#xA;&#xA;Timestamp : #June2021]]&gt;</description>
      <content:encoded><![CDATA[<p>Well, this morning, I woke up to a shock because, my archive of photos and videos amounting to 15GB’s had been mysteriously disappeared. This happened while I was testing <a href="https://photoprism.app/" rel="nofollow">Photoprism</a> and <a href="https://www.seafile.com/" rel="nofollow">Seafile</a> on my self hosted setup after this <a href="https://maxvel.sh/moving-out-of-nextcloud" rel="nofollow">post</a>. I was migrating my photos and videos from Nextcloud to Photoprism from <a href="https://en.wikipedia.org/wiki/WebDAV" rel="nofollow">WebDav</a>. It caught me off-guard and this is just a note I want to make so that I can look back and laugh at my stupidity!</p>



<h3 id="so-what-happened" id="so-what-happened">So, What Happened?</h3>

<p>I was trying to move photos from <a href="https://nextcloud.com" rel="nofollow">Nextcloud</a> to Photoprism (<a href="https://www.docker.com/" rel="nofollow">Docker</a>). Photoprism has a feature where I can add a WebDav folder and it will sync the photos automatically. That’s great! Because I don’t need to download the photos manually and then upload it to Photoprism. I was seriously liking the whole process and it made my life a bit simpler while setting up these services. After the sync, I deleted the WebDav folder from Nextcloud (of which the photos were synced) <em>like a good boy</em> since the photos were already copied and started organising the photos in Photoprism.</p>

<p>It was genuinely a good productive day. Things had gone as per the plan and it couldn’t have been any better. And I called it a day and had a very sound sleep.</p>

<p>The next day, to my surprise, the photos that I carefully collected over the years were lost (Mysteriously). There was nothing more terrifying at that moment when I saw my <em>gallery</em> folder empty!!</p>

<h3 id="yeah-but-how" id="yeah-but-how">Yeah, But How?</h3>

<p>Apparently, Photoprism and Nextcloud folder was on sync. That means, whenever the folder in Nextcloud changes, Photoprism also does that change in its folder and its consequent database.</p>

<blockquote><p>After the sync, Like I deleted the WebDav folder from Nextcloud (of which the photos were synced) like a good boy and started organising the photos in Photoprism.</p></blockquote>

<p>This is where I did a blunder and everything was gone! Since Photoprism saw no photos in the Nextcloud folder, it went ahead and deleted everything from its folder. Simple!</p>

<h3 id="and-how-did-you-recover-them" id="and-how-did-you-recover-them">And, How did you recover them?</h3>

<p>So, Nextcloud has a built in trash feature which I had enabled while I had installed Nextcloud in my server. After the migration, I had deleted the Nextcloud folder in the Nextcloud web interface which will move the folder from <em>files</em> to <em>files_trash</em>.</p>

<p>It took me a while to get there since <em>web_ui</em> in Nextcloud was unresponsive and amidst all this confusion, I forgot that there was even a <em>files_trash</em> folder in the Nextcloud setup. <em>I should have removed the Nextcloud &lt;–&gt; Photoprism sync first before deleting one of the folders.</em></p>

<p>Then a quick copy and import recovered all the photos and videos. However then I carefully deleted my Nextcloud without affecting any other components in the setup. Phew! it was a really long morning. A Lesson for Life.</p>

<p>Categorized under <a href="https://maxvel.writeas.com/tag:Note" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Note</span></a></p>

<p>Tags : <a href="https://maxvel.writeas.com/tag:Lessons4Life" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Lessons4Life</span></a> <a href="https://maxvel.writeas.com/tag:Nextcloud" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Nextcloud</span></a> <a href="https://maxvel.writeas.com/tag:PhotoPrism" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">PhotoPrism</span></a> <a href="https://maxvel.writeas.com/tag:Seafile" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Seafile</span></a> <a href="https://maxvel.writeas.com/tag:Photos" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Photos</span></a> <a href="https://maxvel.writeas.com/tag:Videos" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Videos</span></a></p>

<p>Timestamp : <a href="https://maxvel.writeas.com/tag:June2021" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">June2021</span></a></p>
]]></content:encoded>
      <guid>https://maxvel.writeas.com/a-terrifying-morning</guid>
      <pubDate>Thu, 17 Jun 2021 12:33:19 +0000</pubDate>
    </item>
  </channel>
</rss>