Skip to content

MongoDB 8.0 Is Incompatible with Linux Kernel 6.19 Through 7.0.13 #190

Description

@thgilciffart

Steps to Reproduce

make directories & initalise files

mkdir $HOME/overleaf
cd $HOME/overleaf 
git clone https://github.com/overleaf/toolkit.git ./toolkit
git clone https://github.com/yu-i-i/overleaf-cep
  1. build docker images required
cd $HOME/overleaf/overleaf-cep/server-ce
make build-base
make build-community
  1. initialise the toolkit
cd $HOME/overleaf/toolkit/
bin/init
cd $HOME/overleaf/toolkit/config
  1. configure the toolkit
vim docker-compose.override.yml
---
services:
    sharelatex:
        image: sharelatex/sharelatex:ext-ce
vim overleaf.rc
#### Overleaf RC ####

PROJECT_NAME=overleaf
OVERLEAF_DATA_PATH=data/overleaf
SERVER_PRO=true # change this to enable git-bridge
OVERLEAF_LISTEN_IP=0.0.0.0 # Allowing network access
OVERLEAF_PORT=5000 # Port change 

# Sibling Containers
SIBLING_CONTAINERS_ENABLED=false # No need for sandboxed compilations
DOCKER_SOCKET_PATH=/var/run/docker.sock

# Mongo configuration
MONGO_ENABLED=true
MONGO_DATA_PATH=data/mongo
MONGO_IMAGE=mongo
MONGO_VERSION=8.0

# Redis configuration
REDIS_ENABLED=true
REDIS_DATA_PATH=data/redis
REDIS_IMAGE=redis:7.4
REDIS_AOF_PERSISTENCE=true

# Git-bridge configuration (Server Pro only)
GIT_BRIDGE_ENABLED=true # Enable git bridge 
GIT_BRIDGE_DATA_PATH=data/git-bridge

# TLS proxy configuration (optional)
# See documentation in doc/tls-proxy.md
NGINX_ENABLED=false
NGINX_CONFIG_PATH=config/nginx/nginx.conf
NGINX_HTTP_PORT=80
# Replace these IP addresses with the external IP address of your host
NGINX_HTTP_LISTEN_IP=127.0.1.1
NGINX_TLS_LISTEN_IP=127.0.1.1
TLS_PRIVATE_KEY_PATH=config/nginx/certs/overleaf_key.pem
TLS_CERTIFICATE_PATH=config/nginx/certs/overleaf_certificate.pem
TLS_PORT=443

# In Air-gapped setups, skip pulling images
# PULL_BEFORE_UPGRADE=false
# SIBLING_CONTAINERS_PULL=false
vim variables.env
OVERLEAF_APP_NAME="Overleaf"

ENABLED_LINKED_FILE_TYPES=project_file,project_output_file

# Enables Thumbnail generation using an external converter (pdftocairo by default)
ENABLE_CONVERSIONS=true

# Disables email confirmation requirement
EMAIL_CONFIRMATION_DISABLED=true

OVERLEAF_SITE_URL=URL
OVERLEAF_NAV_TITLE=Overleaf

################
## Server Pro ##
################

EXTERNAL_AUTH=none
  1. allow firewall & start it
cd $HOME/overleaf/toolkit
sudo ufw allow 5000/tcp comment "overleaf"
bin/up -d
  1. access localhost/launchpad

Expected Behaviour

  • mongodb stays online

Observed Behaviour

i keep on seeing MongoDB restart again and again and it's driving me insane

Context

Technical Info

  • URL:
  • Browser Name and version:
  • Operating System and version (desktop or mobile):
  • Signed in as:
  • Project and/or file:

Analysis

Pinned by yu-i-i

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