<div dir="ltr">Hi,<div><br></div><div>Thanks for your answer.</div><div><br></div><div>The problem is solved: I was trying to upload to a directory whose path I still had in DB, but which did not exist anymore since I had deleted and re-created client, node and introducer.</div><div>The error thus came from a missing directory.</div><div><br></div><div>This is also why it didn't work either when switching back to v1.11.0: the missing directory was still missing.</div><div>By the way, I switched back by checking 1.11.0 branch on git, then re-create venv directory and launch pip + check tahoe.cfg files.</div><div><br></div><div>Since Jean-Paul asked, here is a bit of my client/tahoe.cfg file:</div><div> [client]<br></div><div> shares.needed = 1<br> shares.happy = 1<br> shares.total = 2<br></div><div> [storage]<br> enabled = true<br> readonly = false<br> reserved_space = 20G<br></div><div>Everything else is unused or just local settings.<br></div><div><br></div><div>Have a nice day,</div><div>Kind regards,</div><div><br></div><div>Gwenaelle</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 2 oct. 2019 à 18:41, Jean-Paul Calderone <<a href="mailto:jean-paul%2Btahoe-dev@leastauthority.com">jean-paul+tahoe-dev@leastauthority.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Wed, Oct 2, 2019 at 11:47 AM Gwenaëlle Fournier <<a href="mailto:gwenaelle.fournier@gmail.com" target="_blank">gwenaelle.fournier@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi tahoe dev list,</div></blockquote><div><br></div><div>Hiya!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>I come to you with a problem that occurred while switching from tahoe 1.11.0 to 1.13.0.</div><div><br></div><div>We have an API to store files using tahoe.</div><div>For now we have been using tahoe v1.11.0 but we are thinking of migrating to tahoe v1.13.0 and I tested doing that on my local environment.</div><div><br></div><div>I have been able to v1.13.0 on my environment: </div><div>- git clone from master branch</div><div>- virtualenv venv</div><div>- ./venv/Scripts/pip install --editable .[test]</div><div>- create client, node and introducer and configure tahoe.cfg files</div></div></blockquote><div><br></div><div>What configuration did you put into your tahoe.cfg files - particularly for the client node? If you can share the whole file, that'd be great. I specifically wonder what `shares.*` are set to.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Now I can run tahoe and my <span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px">Tahoe-LAFS WUI shows everything green with my introducer connected and two nodes (client and node). </span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px">Everything seems fine here.</span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px">From our API, I am still able to access the files I had previously uploaded while still in v1.11.0.</span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px">But, and here is my problem, I cannot upload files anymore to tahoe.</span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><u>Request</u> (performed by our API): </span></div><div>PUT => <a href="http://127.0.0.1:3456/uri/URI:DIR2:qxrozrgcqcsu5y6pbkkmg6v26m:b4vjn7vlqmptnfptfebdq5qnzehruvo5v5oblw7j752gayfsfrpq/636_test.jpg" target="_blank">http://127.0.0.1:3456/uri/URI:DIR2:qxrozrgcqcsu5y6pbkkmg6v26m:b4vjn7vlqmptnfptfebdq5qnzehruvo5v5oblw7j752gayfsfrpq/636_test.jpg</a><span style="color:rgb(0,0,0);font-family:Verdana,Arial,"Bitstream Vera Sans",Helvetica,sans-serif;font-size:13px"><br></span></div><div><br></div><div><u>Response</u>:</div><div>status: 410<br>body: UnrecoverableFileError: the directory (or mutable file) could not be retrieved, because there were insufficient good shares. This might indicate that no servers were connected, insufficient servers were connected, the URI was corrupt, or that shares have been lost due to server departure, hard drive failure, or disk corruption. You should perform a filecheck on this object to learn more.<br></div><div><br></div><div>Tahoe exact version: <span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><b>1.13.0.post1207</b></span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><br></span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">There are <b>no log files</b> in client logs, node logs or introducer logs and nothing also in twistd.log.</span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><br></span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">I have been able to track the error down in tahoe's code until </span><b>_get_version_from_servermap</b>() function in <b>src/allmydata/mutable/filenode.py</b> but I don't understand it (I am very new to tahoe).</div><div><br></div><div>An additional problem is that if I switch back to version v1.11.0, I still have the issue. I surely broke something somewhere... </div></div></blockquote><div><br></div><div>How did you switch back to v1.11.0? Did you just use pip to install that version of Tahoe-LAFS into the same env you were using? I don't know if downgrading is particularly reliable - but even if it worked, if there is a problem in tahoe.cfg, v1.11.0 would inherit it if you did things this way.</div><div><br></div><div>Regarding logs, you might want to take a look at `flogtool` which can extract information from the Foolscap incident logs, which is where Tahoe-LAFS tries to send most information.</div><div><br></div><div>Jean-Paul</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div> <br></div><div>Could you please help me?</div><div><br></div><div>Thanks a lot in advance,</div><div><br></div><div>Gwenaelle</div></div>
_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@tahoe-lafs.org" target="_blank">tahoe-dev@tahoe-lafs.org</a><br>
<a href="https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev" rel="noreferrer" target="_blank">https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
</blockquote></div></div>
_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@tahoe-lafs.org" target="_blank">tahoe-dev@tahoe-lafs.org</a><br>
<a href="https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev" rel="noreferrer" target="_blank">https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
</blockquote></div>