GithubHelp home page GithubHelp logo

Comments (4)

Naibin avatar Naibin commented on July 24, 2024 1

1 You can do this through the Drupal Admin UI by going to Administration > Configuration > Media > File System (admin/config/media/file-system). The Blast module is fully tested with alternative temporary directories. I check this setting page, looks nothing is wrong: image

I also thought about changing the /tmp permissions to 777, but I still got the same error.

[root@localhost tmp]# chmod -R 777 ./

2 It is weird that it works when you click execute through the UI though. I wonder if you need to run tripal jobs on the command-line using the web user for your server?

yes, when I run command line, the -username=nd343 is a normal user. even though I use an admin user, the same error will return.

超级感谢您的指点! Thank you very much for your advice!

@laceysanderson Finally, I changed the tmp folder to /var/www/tmp , now that trpjob-daemon can be executed automatically. That's it, there is probably something wrong with the permissions of /tmp. In short, it is very good to be able to run the blast analysis function!

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024

Hi, this is definitely a permissions issue and is related to the configuration of your server not the blast module. Unfortunately I don't have any experience with private temp directories and thus have not come across this issue before nor do I have much guidance 😞

I would look at the drupal stackexchange or drupal.org for some guidance using keywords such as "File is not accessible temporary directory" and hopefully that will help 🤷‍♀️

Alternatively if this is a configuration of the server itself that you cannot change then a work around is to configure Drupal to use a different directory as the temporary directory. You can do this through the Drupal Admin UI by going to Administration > Configuration > Media > File System (admin/config/media/file-system). The Blast module is fully tested with alternative temporary directories.

It is weird that it works when you click execute through the UI though. I wonder if you need to run tripal jobs on the command-line using the web user for your server?

from tripal_blast.

Naibin avatar Naibin commented on July 24, 2024

1 You can do this through the Drupal Admin UI by going to Administration > Configuration > Media > File System (admin/config/media/file-system). The Blast module is fully tested with alternative temporary directories.
I check this setting page, looks nothing is wrong:
image

I also thought about changing the /tmp permissions to 777, but I still got the same error.

[root@localhost tmp]# chmod -R 777 ./

2 It is weird that it works when you click execute through the UI though. I wonder if you need to run tripal jobs on the command-line using the web user for your server?

yes, when I run command line, the -username=nd343 is a normal user.
even though I use an admin user, the same error will return.

超级感谢您的指点! Thank you very much for your advice!

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024

Great! I am glad to hear you were able to get it working and my guidance helped!

One final clarification: when I said

I wonder if you need to run tripal jobs on the command-line using the web user for your server?

I was referring to the linux user that apache runs using (e.g. www-data on debian). I was wondering if you ran the drush command as that user... for example using su - to become that user before running the command... that then it would bypass your permission issue in the /tmp directory just as running through the UI does.

from tripal_blast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.