spiderfoot: Why SpiderFoot no longer supports loading the spiderfoot.db database from the application directory? Also bash: cd: /root/.spiderfoot: No such file or directory

I just pulled spiderfoot tried running it but ERROR

How can I can run it? I tried running it root home and su home etc.

also cd /root/.spiderfoot/spiderfoot.db is not found too bash: cd: /root/.spiderfoot: No such file or directory

ERROR: spiderfoot.db file exists in .
SpiderFoot no longer supports loading the spiderfoot.db database from the application directory.
The database is now loaded from your home directory: /root/.spiderfoot/spiderfoot.db
This message will go away once you move or remove spiderfoot.db from .

Please provide a description of the issue and any relevant error messages.

If you can provide an application stack trace that is even better.

is there any tutorial for this one? What version of Python are you using? Python 3.8.6 What version of SpiderFoot are you using (stable release or Git master branch)? Git master branch You may also wish to check if your issue has been posted previously:

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (10 by maintainers)

Most upvoted comments

I don’t like making my life harder with this…

The database is unrelated to your issues. Move or remove the spiderfoot.db file from the SpiderFoot directory.

The errors you’re encountering are related to Python dependencies. You need to fix your environment.

And what’s the upgrade from spiderfoot.db file loading from your home directory? It doesn’t seem to change anything

Storing user data in the user’s home directory will allow users to upgrade SpiderFoot while still maintaining their scans and settings.

This also makes life easier for package maintainers who maintain SpiderFoot packages for various operating systems.

Eventually SpiderFoot will be packaged as a python package on PyPi. Storing user data in the user’s home directory will be necessary.

other than making life it hard for anyone? running an older version ❤️.4 etc.

You’re making life harder on yourself. The database is unrelated to your issues. Fix your Python environment.

Your not a great and helpful contributor at all…

I don’t like making my life harder with this…

The database is unrelated to your issues. Move or remove the spiderfoot.db file from the SpiderFoot directory.

The errors you’re encountering are related to Python dependencies. You need to fix your environment.

And what’s the upgrade from spiderfoot.db file loading from your home directory? It doesn’t seem to change anything

Storing user data in the user’s home directory will allow users to upgrade SpiderFoot while still maintaining their scans and settings.

This also makes life easier for package maintainers who maintain SpiderFoot packages for various operating systems.

Eventually SpiderFoot will be packaged as a python package on PyPi. Storing user data in the user’s home directory will be necessary.

other than making life it hard for anyone? running an older version ❤️.4 etc.

You’re making life harder on yourself. The database is unrelated to your issues. Fix your Python environment.

Can I still it run in application directory after removing spiderfoot.db in my .local directory? How can I run it from application directory ? I have 3.2 & 3.0 running fine but I want the latest version and the new software apis

cd /path/to/spiderfoot
mv spiderfoot.db spiderfoot.db.backup