-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: minKNOW non-default data output location broken in LINUX #60
Comments
Hi @cement-head, Can you go into a little more detail about how youre using the API, arguments you're passing and what the exact response/errors you receive are? Additionally, what versions of minknow + the API youre using? Thanks,
|
@jorj1988 Will do, currently in the middle of a sequencing run, so it'll be a day or two - don't want to bugger the current run. |
@jorj1988 Okay, here's the situation. I have an Intel NUC (small computer) that has TWO (2) physically separate SSDs; one for the operating system (Ubuntu 22.04 LTS; about 500 GB) and one for the minKNOW data (1 TB). The ONLY location that I can save data to during a run is the default </var/lib/minknow/data>. Choosing ANY other location gives an error when attempting to start run that says "ERROR: PATH IS NOT WRITABLE". The permissions for </var/lib/minknow/data> are: The permissions for the second SSD (1 TB) where I used to be able to select my storage location for the data are: The issue (BUG) is that one cannot choose a location other than the default. This is a CRITICAL bug, as many people, including myself use a second SSD for the data only collection. This is a regression/new bug, as older versions of minKNOW did allow choosing a different path/locations to save the run data. I am using Ubuntu 22.04 LTS; the minKNOW GUI is 5.7.14; the minKNOW is 23.07.12; minKNOW CORE 5.75; GUPPY 7.1.4; BREAM 7.7.6; SCRIPT 5.7.11 |
@cement-head - the second image in your post seems to be the same as the first - I am interested to know the permissions on your external HDD, if possible. We're trying to work back to what the issue is here - none of the changes (running as |
@cement-head In addition to @jorj1988 's question above, could you please also tell us how you mounted your secondary SSD? Did you manually mount it from the command line? Many thanks. Kindest Regards, |
@jorj1988 Whoops! Thanks for the catch - updated the screenshot to the proper one. The cbfg-minion account is the user account (the only one on the machine). @juliano60 Via the GUI UDISK2 -> Disks Utility |
Hi @cement-head, could you show us the permissions of the |
@cement-head , apologies that was ZEROZEROZEROZERO. Kindest Regards, |
@juliano60 Okay, so reversing (removing & rebooting) the addition of rw,umask=0000 allows me (USER=cbfg-minion) to access the drive again, but again the minKNOW program (USER=minknow) cannot/doesn't have write permissions. |
@cement-head , I am assuming in the following discussion that the drive you are trying to mount is Could you please run the following commands from a terminal: The first command creates the directory whilst the second command mounts the device on that directory. If your device is no longer called /dev/sdb you will need to update the command above as appropriate. The Disk Utility shows what the device is called. Then once done, could you please run a Kindest Regards, |
Note that -o is lowercase O as in option |
@cement-head , Kindest Regards, |
@cement-head , I am assuming in the following discussion that the drive you are trying to mount is Could you please run the following commands from a terminal:
The first command creates the directory. If your device is no longer called /dev/sdb you will need to update the command above as appropriate. The Disk Utility shows what the device is called. Then once done, could you please run a Once again, please ensure that your device is NOT already mounted before running the command above (you can use the Disk Utility to unmount). Kindest Regards, |
We will try this tomorrow AM, as we're finishing up a large run right now. |
Sounds good @cement-head , do let us know how it goes. Kindest Regards, |
Still the same error "/path/ not writable" |
Thanks @cement-head , The permissions look good now. Just to confirm, did you also select Kindest Regards, |
@juliano60 Yes, I did - and the same error popped up. I'm going to try a fresh install next week and see if that makes a difference - let's put a hold on trouble shooting until then. We have another run that needs to get started, but once that's done (Mon/Tues). I'll reinstall Ubuntu 22.04 from scratch and see if I can get it to work. There maybe something buggered with the current install, and a clean system might be the fastest way to track down this problem. |
@cement-head , Thanks and Regards, |
Hello @cement-head, Best, Christopher |
Any updates on this? We've been unable to write to alternate directories for about..... five years now. |
@cement-head Any luck with the re-install? Kindest Regards, |
Hi @jackwadden + @ChristopherAdelmann, Can you provide info on your specific systems (OS, minknow version) and where you are trying to write, the permissions of that location etc. Thanks,
|
I'm on Ubuntu 20.04. I'm trying to write to a folder in my home directory. The permissions are 777 and the owner and group are 'minknow:minknow'. Installed Minknow version is 24.02.10 core 5.9.7. |
Thanks @jackwadden , Kindest Regards, |
Thanks @jackwadden Those look good. For your use-case, we want Could you please double-check each of them (by running ls -ald on each folder)? Or paste a screenshot showing the permissions for each folder on here so we can double-check those also. Kindest Regards, |
OK, thanks for the detailed response, and understood. I'll check/change those permissions and reply back later today when I'm able to retest. Is there any (easy) way to test without a live flowcell? |
One way to test (and to make sure) that the permissions are correct would be to login as that user (that is, as the user "minknow") and to attempt to create a dummy file in that folder of interest. Otherwise checking each of the intermediate folders' permissions should cover it. Kindest Regards, |
Yeah, perfect. I'll do that now and reply later when I've tested with a live run. Thanks again for the quick and helpful responses. |
Cheers @jackwadden , Kindest Regards, |
If that doesnt resolve your issue @jackwadden I'd like to take a look at your logs, are you able to contact support (via https://nanoporetech.com/support) and pass over a log dump from your machine? Thanks,
|
Just updating here because I was able to make some progress but am still am having issues. Examining the log files was extremely helpful.
|
OK, I think all is good now
So to summarize:
To successfully adjust your output directory for all output files in the case /var is too small, you need to follow these steps in order:
Hopefully this helps anyone running into the same issues. And thanks to George and Jules for the quick responses. -Jack |
Thanks @jackwadden, I'm glad you got it working - I will take your advice here and get the docs updated to reflect the advice!
|
Using Ubuntu 22.04 & 18.04 - latest versions of minKNOW do not let one choose and output folder other than the default.
I get a "Path not writable" error, meaning that more than likely the folder permissions are not be changed properly. This is a new bug.
The text was updated successfully, but these errors were encountered: