# Public URL set but error remains

**URL:** <https://community.vikunja.io/t/public-url-set-but-error-remains/4159>\
**Category:** Support\
**Created:** [6 November 2025 20:21 UTC](https://community.vikunja.io/t/public-url-set-but-error-remains/4159 "2025-11-06T20:21:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![beetlebug](https://community.vikunja.io/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@beetlebug](https://community.vikunja.io/u/beetlebug)\
**Post date:** [6 November 2025 20:21 UTC](https://community.vikunja.io/t/public-url-set-but-error-remains/4159/1 "2025-11-06T20:21:52Z")

</div>

Hello!

I’m trying to install Vikunja with podman, and I’ve been following along with the docker instructions. There were some folder permission issues that I believe I’ve resolved at this point, but I am now stuck with the error **level=ERROR msg=“service.publicurl is required when cors.enable is true”**.

However, I am using the default config file and have specified the server’s IP address (“[http://192.168](http://192.168)”…etc) in the config file (and I do get the INFO message “using config file: /app/vikunja/config.yml”, so it appears to find it). I also tried setting the public url as an environmental variable, but I’m still running into the same error. Any ideas?

---

<div class="post-metadata">

**Author:** ![executed](https://community.vikunja.io/user_avatar/community.vikunja.io/executed/32/2775_2.png) [@executed](https://community.vikunja.io/u/executed)\
**Post date:** [6 November 2025 20:29 UTC](https://community.vikunja.io/t/public-url-set-but-error-remains/4159/2 "2025-11-06T20:29:08Z")

</div>

The correct env variable name is VIKUNJA\_SERVICE\_PUBLICURL.

So it should be something like [http://192.168.0.101:3456](http://192.168.0.101:3456) and the 3456 port should be exposed too.

---

<div class="post-metadata">

**Author:** ![beetlebug](https://community.vikunja.io/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@beetlebug](https://community.vikunja.io/u/beetlebug)\
**Post date:** [6 November 2025 21:28 UTC](https://community.vikunja.io/t/public-url-set-but-error-remains/4159/3 "2025-11-06T21:28:38Z")

</div>

Thanks for your reply! I did try it with the appended port number and using the VIKUNJA\_SERVICE\_PUBLICURL env variable before, and I double-checked again just now, but I still get the error.

I made sure the port is available with **ufw allow 3456**

---

<div class="post-metadata">

**Author:** ![executed](https://community.vikunja.io/user_avatar/community.vikunja.io/executed/32/2775_2.png) [@executed](https://community.vikunja.io/u/executed)\
**Post date:** [6 November 2025 21:58 UTC](https://community.vikunja.io/t/public-url-set-but-error-remains/4159/4 "2025-11-06T21:58:15Z")

</div>

Maybe you can either use config.yml or env vars? Try looking it up.

---

<div class="post-metadata">

**Author:** ![beetlebug](https://community.vikunja.io/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@beetlebug](https://community.vikunja.io/u/beetlebug)\
**Post date:** [6 November 2025 22:08 UTC](https://community.vikunja.io/t/public-url-set-but-error-remains/4159/5 "2025-11-06T22:08:02Z")

</div>

Good idea. I’ve tried using the env variable without setting the config and allowing it to use the default, and I still get the error. I originally tried without setting the env var and running the config file, but now I’ve now also unset the env var and tried to run it with the config file. Same issue.

I’ve been trying to set up Vikunja on and off for the past week but I seem to be really stuck with this one!

---

<div class="post-metadata">

**Author:** ![executed](https://community.vikunja.io/user_avatar/community.vikunja.io/executed/32/2775_2.png) [@executed](https://community.vikunja.io/u/executed)\
**Post date:** [6 November 2025 22:39 UTC](https://community.vikunja.io/t/public-url-set-but-error-remains/4159/6 "2025-11-06T22:39:35Z")

</div>

Do you see HTML saying “We’re sorry but Vikunja doesn’t work properly without JavaScript enabled“ when doing the following command from the host server?

```bash
curl http://localhost:3456

```

If so this means the port is exposed correctly from the container. If not - might mean that port is not exposed from container.

Also “ **service.publicurl is required when cors.enable is true** “ means code simply fails to read the **service.publicurl** parameter - double check if the syntax is 100% correct in config.yml.

I haven’t worked with Podman before but I assume it shuold have something like docker-compose.yml for stack configuration? If so please share the contents of this file.

Also double-check file permissions of the config.yml and directories that contain it if any - I guess you shuold be mounting the directory/file into container somewhere. Even though it says it reads config.yml from my experience does not nesseseraly mean it reads your file, could be reading the one built-in the Docker image.

> **[Full docker example](https://vikunja.io/docs/full-docker-example/#file-permissions)**
>
> Learn how to deploy Vikunja using Docker Compose with various database options and proxy configurations. Includes examples popular reverse proxies.
