Skip to content

Issues setting up the dev environment #1111

@audiodude

Description

@audiodude

Hi @audiodude @rgaudin ,

From my understanding:

  • The web server is running on Flask
  • The database is MySQL
  • Available selection methods: Book, PetScan, SPARQL, WikiProject, and Simple selection

Currently, we can only use one selection method at a time. However, I would like to build a selection combination system that allows users to union, intersect, or subtract multiple selections. These operations may also be recursive.

So my plan is to build:

  • The mathematical logic to combine multiple selection operations
  • A GUI interface to allow users to create these combinations easily
    Am I understanding the idea correctly? Please let me know if I missed anything.

all development has been on Linux, use other platforms at your own risk.

Because of that, I first tried installing it on WSL with Ubuntu 22.04. However, I struggled to properly migrate the database in MySQL. After dealing with issues related to Redis and Mono, I switched to Docker Desktop instead.

Now, all the workers are running correctly:
Image

Except for the zimfarm-worker-manager .

[2026-03-07 23:17:00,070: INFO] starting zimfarm worker-manager.
[2026-03-07 23:17:00,071: INFO] configuration:
	username=test_worker
	webapi_uris=['http://zimfarm-api:80/v2']
	workdir=/data
	worker_name=test_worker
	OFFLINERS=['mwoffliner', 'youtube', 'phet', 'gutenberg', 'sotoki', 'nautilus', 'ted', 'openedx', 'zimit', 'kolibri', 'wikihow', 'ifixit', 'freecodecamp', 'devdocs', 'mindtouch', 'maps']
	PLATFORMS_TASKS={}
	poll_interval=10
	sleep_interval=5
	selfish=False
[2026-03-07 23:17:00,071: WARNING] Declared memory 21474836480 appears to be greater than actual memory 9288482816
[2026-03-07 23:17:00,071: INFO] testing workdir at /data…
[2026-03-07 23:17:00,071: INFO] 	workdir is available and writable
[2026-03-07 23:17:00,071: INFO] testing private key at /etc/ssh/keys/zimfarm…
[2026-03-07 23:17:00,071: CRITICAL] 	private key is not a readable path

Although I have linked the SSH folder to a local folder, it still shows that the private key is not readable.
Image
Could you please guide me on how to resolve this? I'm eager to learn anything required to work on this.

Originally posted by @sajjadhossanshimanto in #728

Let's discuss your issues with setting up the development environment here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions