Caddy error with MinIO plugin: "duplicate site address not allowed"

umm, no i ran:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v13.0.2/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

and

tutor local upgrade --from=lilac

I ran it again the same steps and the problem went away, but now I have a problem with caddy since it tells me that I have a duplicate site

{"level":"info","ts":1641234299.4031556,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
run: adapting config using caddyfile: duplicate site address not allowed: 'minio.edxlilac.local:80' in [minio.edxlilac.local:80] (site block 4, key 0)

Did you customize MINIO_HOST or MINIO_CONSOLE_HOST?

No, I changed nothing, everything is by default, just migrate from lilac to maple

What’s the output of the following commands?

tutor plugins list
tutor config printvalue MINIO_HOST
tutor config printvalue MINIO_CONSOLE_HOST

hi, i have this

ubuntu@edxlilac:~$ tutor plugins list

allow_automated_signups==0.1.0
android==13.0.0 (disabled)
bulk_enrollment_view==0.1.0
catalog_visibility==0.1.0
custom_courses==0.1.0
discovery==13.0.0
ecommerce==13.0.0 (disabled)
email_account==0.1.0 (disabled)
forum==13.0.0 (disabled)
license==13.0.0 (disabled)
mfe==13.0.0 (disabled)
minio==13.0.0
notes==13.0.0
richie==13.0.0 (disabled)
set_default_enrollment==0.1.0 (disabled)
special_exams==0.1.0
theme_default==0.1.0
webui==13.0.0
xqueue==13.0.0 (disabled)
ubuntu@edxlilac:~$

ubuntu@edxlilac:~$ tutor config printvalue MINIO_HOST
minio.edxlilac.local

ubuntu@edxlilac:~$ tutor config printvalue MINIO_CONSOLE_HOST
minio.edxlilac.local```

I see that you manually modified the MINIO_HOST. Please unset it:

tutor config save --unset MINIO_HOST

Then run:

tutor config printvalue MINIO_HOST

This should output files.edxlilac.local. In Maple (tutor v13) the MinIO service was split in two: the console, which is the web UI, runs at the same domain name as before (minio.{{ LMS_HOST }}) but now the files are served from files.{{ LMS_HOST }}.

Thx, its works

It has already started without problems

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.