Giter Site home page Giter Site logo

Comments (14)

paulmcgann avatar paulmcgann commented on May 20, 2024 3

@StanGirard Not a problem at all we all.

We didn't manage to fix the issue and that I believe is because it can depend upon the way you have docker setup. Running this in a windows environment with docker is difficult, due to how docker handles binding mounts and volumes on windows.

Doing a bit of investigation if you want to run this on windows you need to have a shared drive set in docker, then you are able to use the ${PWD} variable. However if you are running WSL2 it is a bit more complicated as there is no option for shared drives you need to run something like:

/run/desktop/mnt/host/${driveLetter}/path/to/my/windows/dir

For now I have hosted in a linux vm running docker and it is working fine.

I will add that I am no docker expert.

from seo-audits-toolkit.

paulmcgann avatar paulmcgann commented on May 20, 2024 1

Hi @muppet922,

Can you tell us a bit more about your os setup?

I am using windows and I am too experiencing issues, just looking to see if I can get an aggregated list of issues with the setup to look at creating a pull request to resolve these problems.

from seo-audits-toolkit.

paulmcgann avatar paulmcgann commented on May 20, 2024 1

Hey @muppet922 ,

Yeah your experiencing the same problems I am having.

I believe this may be down to us using Windows.

I will try the same steps on a Linux machine and see how I get on.

I'll let you know how that goes.

from seo-audits-toolkit.

paulmcgann avatar paulmcgann commented on May 20, 2024 1

Hey @muppet922,

I got round to making this all work using a linux virtual machine, some issues with configuration however I believe that is just because I have to get used to this toolkit.

I have also discovered this documentation online for installation https://osat.primates.dev/#installation.

I haven't tried running this again on windows, however if pyton and redis are installed then this really should work without the requirement for docker.

I'll try this approach and let you know how it goes.

from seo-audits-toolkit.

StanGirard avatar StanGirard commented on May 20, 2024 1

Hello guys, sorry for not answering. I've been hammered with work lately and had no time to update the code.
Did you manage to fix your issues ?

from seo-audits-toolkit.

muppet922 avatar muppet922 commented on May 20, 2024 1

I just gave up, this tool needs updates

from seo-audits-toolkit.

muppet922 avatar muppet922 commented on May 20, 2024

I have tried also today, i can't make osat-server to start.

  • set -e

  • exec echo

from seo-audits-toolkit.

muppet922 avatar muppet922 commented on May 20, 2024

Hi @paulmcgann,

I'm using Microsoft Windows 11 Enterprise, 10.0.22000 Build 22000, x64, i5-11440.

If I try to build the osat app, I can't even start it. If i jump that part and use

docker-compose --env-file .env-example up -d

The app is starting, i can acces http://localhost:3000 but whenever I try to login i encounter an error: Network error (it shows on the login page)

I will edit and come with more info's, out of frustration i've deleted docker (childish) and give you more info, thanks brother.

  • ERROR1:

git clone https://github.com/StanGirard/seo-audits-toolkit
cd seo-audits-toolkit
docker-compose pull ==>

`time="2021-12-16T18:27:32+02:00" level=warning msg="The \"NAMESPACE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_USER\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_PASSWORD\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_DB\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"REDIS_MEMORY_MAX\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"REDIS_LOG_FILE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"REDIS_VERSION\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"REDIS_LOG_PREFIX_PATH\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"NAMESPACE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"REDIS_LOG_PREFIX_PATH\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"NAMESPACE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_PASSWORD\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"DEBUG\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"ALLOWED_HOSTS\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CELERY_BROKER_URL\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"SECRET_KEY\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CORS_ALLOWED_ORIGINS\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_USER\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"DATABASE_ENGINE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_PORT\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_DB\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"REST_FRAMEWORK_PAGE_SIZE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CELERY_RESULT_BACKEND\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"TINI_VERSION\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_PORT\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_DB\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"SECRET_KEY\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CELERY_BROKER_URL\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"DATABASE_ENGINE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CORS_ALLOWED_ORIGINS\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"ALLOWED_HOSTS\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CELERY_RESULT_BACKEND\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_USER\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"DEBUG\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"REST_FRAMEWORK_PAGE_SIZE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_PASSWORD\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"TINI_VERSION\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"NAMESPACE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"TINI_VERSION\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_USER\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"DEBUG\" variable is not set. Defaulting to a blank string."
time="2021-12-16T18:27:32+02:00" level=warning msg="The \"ALLOWED_HOSTS\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_PASSWORD\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"SECRET_KEY\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CELERY_BROKER_URL\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CELERY_RESULT_BACKEND\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"DATABASE_ENGINE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"REST_FRAMEWORK_PAGE_SIZE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_PORT\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"POSTGRES_DB\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"CORS_ALLOWED_ORIGINS\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"NAMESPACE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"NAMESPACE\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"TINI_VERSION\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"NODE_VERSION\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"PWD\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"PWD\" variable is not set. Defaulting to a blank string."

time="2021-12-16T18:27:32+02:00" level=warning msg="The \"PWD\" variable is not set. Defaulting to a blank string."

1 error(s) decoding:

This error comes from the .env-example file, I have changed it to .env, but in the installation tutorial I didn't see any info related to that.

Next I use docker-compose --env-file .env-example up -d, error is:
network web declared as external, but could not be found

The network is listed when i run docker network ls

5dcca5606dd5   bridge                        bridge    local

b2f41c2da882   host                          host      local

2f889711aeea   none                          null      local

b05f84799951   seo-audits-toolkit_internal   bridge    local

Database says:

Error: Database is uninitialized and superuser password is not specified.

You must specify POSTGRES_PASSWORD to a non-empty value for the

superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".

You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all

connections without a password. This is *not* recommended.

See PostgreSQL documentation about "trust":

https://www.postgresql.org/docs/current/auth-trust.html

And OSAT-SERVER impress me with:

    set -e
    exec echo

I have read some resources telling that some apps close themselves after the necessary commands were runned, but I think osat-server have to work.

I've looked at the console when loggin failed and found that localhost:8000 is not working so that's no loggin available because osat is binded on that port.

If you need more informations or I found something new I will edit this post or reply again, thanks man.

from seo-audits-toolkit.

muppet922 avatar muppet922 commented on May 20, 2024

Hey @paulmcgann,

I will try to install osat toolkit next week on Linux, now I just don't have the time for it. Thanks for keeping me up with the updates, I still think that the documentation needs more information for newbs. How's going with it? all great?

Wish you a a happy xmas&year <3

from seo-audits-toolkit.

paulmcgann avatar paulmcgann commented on May 20, 2024

Hey @muppet922

I wish it was going great, when running the pip install a lot of the packages are out-dated. I have given up trying as it was taking up too much time to get this setup.

from seo-audits-toolkit.

muppet922 avatar muppet922 commented on May 20, 2024

Yea, I can't make it work on Windows Docker, any ideeas? thanks in advance

from seo-audits-toolkit.

TBG-FR avatar TBG-FR commented on May 20, 2024

Windows x Docker Desktop x WSL2 user here

Managed to "fix" some issues (see #70 ) but for now still stuck

We'll update if I make any progress

from seo-audits-toolkit.

TBG-FR avatar TBG-FR commented on May 20, 2024

@paulmcgann @muppet922 did you manage to fix Network error on login page (admin/admin) ? The Network tab in Chrome displays the following details :

{
    "non_field_errors": [
        "Unable to log in with provided credentials."
    ]
}

from seo-audits-toolkit.

TBG-FR avatar TBG-FR commented on May 20, 2024

I just gave up, this tool needs updates

You're right, but I can't find another oss tool with the same amount of features... Did you ?

Maybe we could fix/update it all together 🤷‍♂️

from seo-audits-toolkit.

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.