Comments (4)
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:
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.
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.
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:
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.
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)
- Error - "File is not accessible" HOT 2
- max_target_seqs parameter HOT 3
- Overly aggressive regex to remove database extension in api/blast_ui.api.inc HOT 1
- Undefined variable HOT 1
- Trimming of input sequence HOT 1
- Issues with online docs HOT 2
- Blast analyses failed: "We encountered an error and are unable to load your BLAST results" HOT 4
- Upgrade to Tripal 4 + Drupal 9 HOT 10
- Progressive Display Controls HOT 1
- PHP8 Deprecation warnings HOT 1
- PHP8 catches mismatched parameter names HOT 1
- Modify queue priority of BLAST jobs
- Tripal Blast doesn't show up in the Extensions listing
- Blast Overview Javascript issues
- Update blastx, tblastn, blastp forms HOT 2
- Current Documentation HOT 1
- Unable to install via Composer
- Undefined array key "cvitjs_location" in blast_ui HOT 2
- 'File is not accessible' issue in tripal blast (related to sites/default/files/tripal_blast/ or /tmp?) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tripal_blast.