# Invalid path format

**URL:** <https://discourse.joplinapp.org/t/invalid-path-format/42884>\
**Category:** Support\
**Created:** [4 January 2025 16:29 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884 "2025-01-04T16:29:20Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rare](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/rare/32/23898_2.png) [@Rare](https://discourse.joplinapp.org/u/Rare)\
**Post date:** [4 January 2025 16:29 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/1 "2025-01-04T16:29:20Z")

</div>

Linux  
Joplin version  
3.0.1

Hi all and a happy new year  
I have followed this guide ([Guide for Joplin-Server on Raspberry Pi](https://discourse.joplinapp.org/t/guide-for-joplin-server-on-raspberry-pi/14702/1)) to install Joplin Server on my RPI IV and I have this issue:

```auto
Invalid path format: 192.168.0.235:22300/login
Go to login page

```

this is my config file:

```auto
myself@framboise:~ $ cat docker-compose.yml
version: '3'
services:
    db:
        restart: unless-stopped
        image: postgres:latest
        ports:
            - "5432:5432"
        volumes:
            - /data/joplin-data:/var/lib/postgresql/data
        environment:
            - POSTGRES_PASSWORD=CHANGEME
            - POSTGRES_USER=joplin
            - POSTGRES_DB=joplin
    app:
        environment:
            - APP_BASE_URL=http://192.168.0.235:22300
            - APP_PORT=22300
            - POSTGRES_PASSWORD=CHANGEME
            - POSTGRES_DATABASE=joplin
            - POSTGRES_USER=joplin
            - POSTGRES_PORT=5432
            - POSTGRES_HOST=db
            - DB_CLIENT=pg
        restart: unless-stopped
        image: etechonomy/joplin-server:latest
        ports:
            - "22300:22300"
        depends_on:

```

as I am a newbie I don’t know how to fix this.  
Need help.  
Thanks,  
Philippe

---

<div class="post-metadata">

**Author:** ![MoriarT3a](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/moriart3a/32/16415_2.png) [@MoriarT3a](https://discourse.joplinapp.org/u/MoriarT3a)\
**Post date:** [4 January 2025 17:34 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/2 "2025-01-04T17:34:09Z")

</div>

I just read short over the guide.  
It shoud be `http://192.168.0.235:22300/joplin` in your APP\_BASE\_URL.

If it doesn't work I look later further in to it. ✌

---

<div class="post-metadata">

**Author:** ![Rare](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/rare/32/23898_2.png) [@Rare](https://discourse.joplinapp.org/u/Rare)\
**Post date:** [5 January 2025 09:15 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/3 "2025-01-05T09:15:53Z")

</div>

Hello  
the previous URL I had was:  
[http://192.168.0.235:22300/192.168.0.235:22300/login](http://192.168.0.235:22300/192.168.0.235:22300/login)

So I have changed as you suggested it but nope:

> This site is inaccessible  
> 192.168.0.235 does not allow connection.

> Path not found: joplin  
> Go to login page  
> Joplin Server v3.0.1, copyright © 2021-2025 JOPLIN.

Going to login page () gives:

> Path not found: joplin/login  
> I can access to the login page manually by typing  
> http://192.168.0.235:22300/login  
> and it gave:  
> [![](https://i.ibb.co/mvFrY6Z/Joplin-Server-Login-Google-Chrome.png)](https://ibb.co/n38qVzd)  
> [![](https://i.ibb.co/r6P2gBM/Joplin-Server-Error-Google-Chrome.png)](https://ibb.co/J7LjNY2)  
> and there, I’m stuck. 😦

```auto
services:
    db:
        restart: unless-stopped
        image: postgres:latest
        ports:
            - "5432:5432"
        volumes:
            - /data/joplin-data:/var/lib/postgresql/data
        environment:
            - POSTGRES_PASSWORD=CHANGEME
            - POSTGRES_USER=joplin
            - POSTGRES_DB=joplin
    app:
        environment:
            - APP_BASE_URL=http://192.168.0.235/joplin
            - APP_PORT=22300
            - POSTGRES_PASSWORD=CHANGEME
            - POSTGRES_DATABASE=joplin
            - POSTGRES_USER=joplin
            - POSTGRES_PORT=5432
            - POSTGRES_HOST=db
            - DB_CLIENT=pg
        restart: unless-stopped
        image: etechonomy/joplin-server:latest
        ports:
            - "22300:22300"
        depends_on:
            - db

```

---

<div class="post-metadata">

**Author:** ![MoriarT3a](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/moriart3a/32/16415_2.png) [@MoriarT3a](https://discourse.joplinapp.org/u/MoriarT3a)\
**Post date:** [5 January 2025 16:04 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/4 "2025-01-05T16:04:52Z")

</div>

I reviewed the tutorial again. Its goal is to set up a reverse proxy afterward to externally encrypt the connection to the client (`https://`). Do you plan to do that as well?

The easy way (only internal in your Home-Network):  
Behind `APP_BASE_URL=`, you need to specify the address where the website should be accessible in the end. If you only want to use the server within your home network and don't plan to set up a proxy server for forwarding, using the IP and port should work.

`APP_BASE_URL=http://192.168.0.235:22300`

In that case, you also need to use `http://192.168.0.235:22300` as the URL in your browser. There won’t be any additional suffix after the URL.

This would be the simplest method.

---

<div class="post-metadata">

**Author:** ![Rare](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/rare/32/23898_2.png) [@Rare](https://discourse.joplinapp.org/u/Rare)\
**Post date:** [6 January 2025 08:21 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/5 "2025-01-06T08:21:42Z")

</div>

In my use-case I would like to run Joplin-Server exclusively locally, i.e. without being accessible from Internet. No Apache. No 192.168.0.235/joplin. Just 192.168.0.235:22300.

> using the IP and port should work.
> 
> APP\_BASE\_URL=[http://192.168.0.235:22300](http://192.168.0.235:22300)
> 
> In that case, you also need to use [http://192.168.0.235:22300](http://192.168.0.235:22300) as the URL in your browser. There won’t be any additional suffix after the URL.

It should work, you’re right. But it does not. And that’s the issue.

---

<div class="post-metadata">

**Author:** ![Rare](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/rare/32/23898_2.png) [@Rare](https://discourse.joplinapp.org/u/Rare)\
**Post date:** [6 January 2025 09:22 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/6 "2025-01-06T09:22:43Z")

</div>

just made a new install and the URL provided is still [http://192.168.0.235:22300/192.168.0.235:22300/login](http://192.168.0.235:22300/192.168.0.235:22300/login)  
Then accessing to [http://192.168.0.235:22300/login](http://192.168.0.235:22300/login)  
with admin@localhost and pass admin fails again;  
the URL [http://192.168.0.235:22300/192.168.0.235:22300/login](http://192.168.0.235:22300/192.168.0.235:22300/login) replies:

> Invalid path format: 192.168.0.235:22300/login

---

<div class="post-metadata">

**Author:** ![MoriarT3a](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/moriart3a/32/16415_2.png) [@MoriarT3a](https://discourse.joplinapp.org/u/MoriarT3a)\
**Post date:** [6 January 2025 16:06 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/7 "2025-01-06T16:06:52Z")

</div>

I dont understand where the curios URL comes from. That `http://192.168.0.235:22300/192.168.0.235:22300/login` doesn't work is normal. It is not a valid URL. But I've no Idea where it comes from.

Maybe you have to leave the field `APP_BASE_URL` blank. It looks like the webpage pasted this part in front of your URL and this is in this case not correct. You can try

```auto
APP_BASE_URL=

```

But I'm not sure if this will work. I think we need help from someone else. Sorry @Rare .

---

<div class="post-metadata">

**Author:** ![Rare](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/rare/32/23898_2.png) [@Rare](https://discourse.joplinapp.org/u/Rare)\
**Post date:** [7 January 2025 09:16 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/8 "2025-01-07T09:16:31Z")

</div>

I’ve re-installed it this morning from A to Z with the same settings and finally it works!  
Don’t know what happened… maybe a typo somewhere.  
Anyway thanks a lot for the support.  
Now I’m going to see how it works with the web clipper.

---

<div class="post-metadata">

**Author:** ![MoriarT3a](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/moriart3a/32/16415_2.png) [@MoriarT3a](https://discourse.joplinapp.org/u/MoriarT3a)\
**Post date:** [7 January 2025 14:52 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/9 "2025-01-07T14:52:24Z")

</div>

Ah one thing, I've forgot @Rare :  
If you make changes to the compose file it's an good idea to use:

```auto
docker-compose up -d --force-recreate

```

So the changed compose file is forced to be used.  
Maybe this was a part of the Problem.

---

<div class="post-metadata">

**Author:** ![MrKanister](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrkanister/32/20054_2.png) [@MrKanister](https://discourse.joplinapp.org/u/MrKanister)\
**Post date:** [7 January 2025 22:54 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/10 "2025-01-07T22:54:00Z")

</div>

Hi, I've just tried it out on three different installations and couldn't get the issue even with the exact compose file you posted. So yeah, may well be a typo somewhere.

Please mark your answer as the solution.

Best regards and sorry for the late reply!

---

<div class="post-metadata">

**Author:** ![Rare](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/rare/32/23898_2.png) [@Rare](https://discourse.joplinapp.org/u/Rare)\
**Post date:** [8 January 2025 07:19 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/11 "2025-01-08T07:19:38Z")

</div>

Thanks for the trick Mr MoriarT3a.

> [@MrKanister](#):
>
> Please mark your answer as the solution.

I should have done it already 🙄  
sorry

---

<div class="post-metadata">

**Author:** ![roygrubb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roygrubb/32/22754_2.png) [@roygrubb](https://discourse.joplinapp.org/u/roygrubb)\
**Post date:** [11 January 2025 08:13 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/12 "2025-01-11T08:13:16Z")

</div>

> [@MoriarT3a](#):
>
> `docker-compose up -d --force-recreate`

Having trouble, too. When I get down to running:  
docker compose up -d  
I get:  
yaml: unmarshal errors:  
line 24: mapping key "restart" already defined at line 4  
line 25: mapping key "image" already defined at line 5  
line 26: mapping key "ports" already defined at line 6  
line 15: mapping key "environment" already defined at line 10

As others are not reporting this problem, where can I look to see what I've done wrong?

I'm struggling a bit because I already have apache2 installed on my pi5 and I don't know how to vary the instructions for apache. So I installed nginx and made it listen on 8999 instead of 80 and need to direct it to a new directory /var/www/html/joplin once I've overcome the compose issue. Could this give a clue to the compose problem?

---

<div class="post-metadata">

**Author:** ![MoriarT3a](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/moriart3a/32/16415_2.png) [@MoriarT3a](https://discourse.joplinapp.org/u/MoriarT3a)\
**Post date:** [11 January 2025 13:04 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/13 "2025-01-11T13:04:35Z")

</div>

From the error message, I would think you have a failure in your docker-compose.yaml. Four mapping keys are double given. Maybe there is somethong with the indentation wron between the database container and the app container.

Please post your docker-compose.yaml and then I can have a look. But think about of pasting your passwords. just leave this blank or write something else.  
And importand: Post is as a code block, so I can check the indentation.

---

<div class="post-metadata">

**Author:** ![roygrubb](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roygrubb/32/22754_2.png) [@roygrubb](https://discourse.joplinapp.org/u/roygrubb)\
**Post date:** [11 January 2025 15:42 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/14 "2025-01-11T15:42:52Z")

</div>

Thanks. I copied it from here:

> **[How to install Joplin Server on Raspberry Pi (or other Linux servers)](https://www.xda-developers.com/install-joplin-serven-raspberry-pi-other-linux-servers/)**
>
> Host your own notes

where there is no indentation, so it seems that may be the problem. (Alternatively, the problem may be that I'm a complete noob in yaml)

I took a stab at what I thought the indentation might have to be and it composed nicely, so good call, and thanks again.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [10 February 2025 15:43 UTC](https://discourse.joplinapp.org/t/invalid-path-format/42884/15 "2025-02-10T15:43:48Z")

</div>

Closed on 10 February 2025 15:43 UTC

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