Skip to content

New install not permitting ui access #47

@NotTimTam

Description

@NotTimTam

On MacOS using Docker Desktop.

Repeat Steps:

  • Clone repo.
  • Follow quick start instructions.
  • Attempt to access front-end (http://localhost:5000) in a browser.

Issue Description:
I cloned LiberCrawl and followed the quick start instructions to spin up with ./start-librecrawl.sh

It successfully spun up (see log below), but when I go to localhost:5000, I immediately get a 403 permission denied error. I get the same error making requests to all API routes, which I would expect without authentication.

Your docs do not indicate if an account needs to be made through the API before accessing the front-end?

Not sure what other detail I can give to assist in debugging my issue, as this is a fresh install inside docker.

Checking for Docker...
Docker found! Starting LibreCrawl with Docker...
[+] Building 56.7s (17/17) FINISHED                                      docker:desktop-linux
 => [librecrawl internal] load build definition from Dockerfile                          0.0s
 => => transferring dockerfile: 1.94kB                                                   0.0s
 => [librecrawl internal] load .dockerignore                                             0.0s
 => => transferring context: 2B                                                          0.0s
 => [librecrawl internal] load metadata for docker.io/library/python:3.11-slim           1.6s
 => [librecrawl auth] library/python:pull token for registry-1.docker.io                 0.0s
 => [librecrawl  1/11] FROM docker.io/library/python:3.11-slim@sha256:6d98ca198cea726f2  0.0s
 => [librecrawl internal] load build context                                             0.0s
 => => transferring context: 11.61kB                                                     0.0s
 => CACHED [librecrawl  2/11] WORKDIR /app                                               0.0s
 => CACHED [librecrawl  3/11] RUN apt-get update && apt-get install -y     wget     gnu  0.0s
 => CACHED [librecrawl  4/11] COPY requirements.txt .                                    0.0s
 => CACHED [librecrawl  5/11] RUN pip install --no-cache-dir -r requirements.txt         0.0s
 => CACHED [librecrawl  6/11] RUN playwright install-deps                                0.0s
 => CACHED [librecrawl  7/11] RUN groupadd -r librecrawl && useradd -r -g librecrawl -u  0.0s
 => [librecrawl  8/11] COPY --chown=librecrawl:librecrawl . .                            0.0s
 => [librecrawl  9/11] RUN mkdir -p /app/data && chown -R librecrawl:librecrawl /app/da  0.1s
 => [librecrawl 10/11] RUN chown -R librecrawl:librecrawl /app                           0.1s
 => [librecrawl 11/11] RUN playwright install                                           53.0s
 => [librecrawl] exporting to image                                                      1.8s
 => => exporting layers                                                                  1.8s
 => => writing image sha256:e4d425fc6e3c1bf9bbf42f3817aff093d39bcafdc8f561084ff93e5135d  0.0s
 => => naming to docker.io/library/librecrawl-main-librecrawl                            0.0s
[+] Running 2/2
 ✔ Network librecrawl-main_default  Created                                              0.0s 
 ✔ Container librecrawl             Started                                              0.0s 
Waiting for LibreCrawl to start...

================================================================================
LibreCrawl is running!
Opening browser to http://localhost:5000

Press Ctrl+C to stop LibreCrawl and exit
DO NOT close this terminal or LibreCrawl will keep running in the background!
================================================================================

Showing live logs (press Ctrl+C to stop):

librecrawl  | Database initialized successfully
librecrawl  | Crawl persistence tables initialized successfully
librecrawl  | ============================================================
librecrawl  | LOCAL MODE ENABLED
librecrawl  | All users will have admin tier access
librecrawl  | No rate limits or tier restrictions
librecrawl  | Auto-login enabled with 'local' admin account
librecrawl  | ============================================================
librecrawl  | Started crawler instance cleanup thread
librecrawl  | ============================================================
librecrawl  | LibreCrawl - SEO Spider
librecrawl  | ============================================================
librecrawl  | 
librecrawl  | 🚀 Server starting on http://0.0.0.0:5000
librecrawl  | 🌐 Access from browser: http://localhost:5000
librecrawl  | 📱 Access from network: http://<your-ip>:5000
librecrawl  | 
librecrawl  | ✨ Multi-tenancy enabled - each browser session is isolated
librecrawl  | 💾 Settings stored in browser localStorage
librecrawl  | 
librecrawl  | Press Ctrl+C to stop the server
librecrawl  | 
librecrawl  | ============================================================
librecrawl  | 
librecrawl  | Starting LibreCrawl on http://localhost:5000
librecrawl  | Using Waitress WSGI server with multi-threading support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions