# Error running Joplin Server on RPi

**URL:** <https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012>\
**Category:** Support\
**Created:** [17 January 2021 21:12 UTC](https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012 "2021-01-17T21:12:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lovejoplin](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/lovejoplin/32/6475_2.png) [@lovejoplin](https://discourse.joplinapp.org/u/lovejoplin)\
**Post date:** [17 January 2021 20:55 UTC](https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012/1 "2021-01-17T20:55:10Z")

</div>

I have try it in Pi3 and Pi4, which have those issue  
app\_1 | standard\_init\_linux.go:219: exec user process caused: exec format error

and then  
f9af1a9882ed florider89/joplin-server:latest "docker-entrypoint.s…" 2 minutes ago Restarting (1) 5 seconds ago server-v164\_app\_1

docker -v  
Docker version 20.10.2, build 2291f61

uname -a  
Linux joplinpi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux

---

<div class="post-metadata">

**Author:** ![florider](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@florider](https://discourse.joplinapp.org/u/florider)\
**Post date:** [17 January 2021 21:06 UTC](https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012/2 "2021-01-17T21:06:04Z")

</div>

> [@lovejoplin](#):
>
> uname -a  
> Linux joplinpi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux

This is a 32bit kernel, thus it doesn't support arm64. The Raspberry Pi will need to run a 64bit kernel to use the image.

Also, as mentioned above, you'll have to try the `master` tag for now. `latest` currently does not have a arm64 build.

---

<div class="post-metadata">

**Author:** ![lovejoplin](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/lovejoplin/32/6475_2.png) [@lovejoplin](https://discourse.joplinapp.org/u/lovejoplin)\
**Post date:** [17 January 2021 21:12 UTC](https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012/3 "2021-01-17T21:12:27Z")

</div>

OK, let me switch to Ubuntu Server 20.04.1 64-bit and feedback.

---

<div class="post-metadata">

**Author:** ![lovejoplin](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/lovejoplin/32/6475_2.png) [@lovejoplin](https://discourse.joplinapp.org/u/lovejoplin)\
**Post date:** [18 January 2021 01:00 UTC](https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012/5 "2021-01-18T01:00:53Z")

</div>

I got some issue after test new server in RPi.

1, Can't login after change password for "admin@localhost"

```
Invalid username or password
Error: Invalid username or password
at SessionModel.<anonymous> (/home/joplin/packages/server/src/models/SessionModel.ts:28:20)
at Generator.next (<anonymous>)
at fulfilled (/home/joplin/packages/server/dist/models/SessionModel.js:5:58)

```

2, In App Check synchronization configuration after setup Joplin Server as sync target, it can't use created username and password.

Error. Please check that URL, username, password, etc. are correct and that the sync target is accessible. The reported error was:

```
POST api/sessions: Unknown error (400): <!doctype html> <html> <head> <meta charset="utf-8"> 
<link rel="stylesheet" href="http://10.0.1.251:22300/css/bulma.min.css" crossorigin="anonymous"> 
<link rel="stylesheet" href="http://10.0.1.251:22300/css/bulma-prefers-dark.min.css" crossorigin="anonymous"> 
<link rel="stylesheet" href="http://10.0.1.251:22300/css/main.css" crossorigin="anonymous"> 
<link rel="stylesheet" href="http://10.0.1.251:22300/css/fontawesome/css/all.min.css" crossorigin="anonymous">
 <script src="http://10.0.1.251:22300/js/main.js"></script> </head> 
<body class="page-error"> <main class="main"> <section class="section"> 
<div class="container"> <div class="notification is-danger"> Not allowed: POST </div> <p>
<a href="http://10.0.1.251:22300/login">Back to the login page</a></p> </div> </div> </main> </body> </html> (Code 400)

```

3, I use 10.0.1.251 as RPi IP address, add 22300 and /joplin to different config file, I am very confused. Better use uniform config for all of them.  
In Joplin App, Joplin Server URL: [http://10.0.1.251:22300/joplin](http://10.0.1.251:22300/joplin)  
In docker-compose.yml,

```
APP_BASE_URL=http://10.0.1.251:22300
ports:
    - "22300:22300"

```

In nginx,

```
location /joplin {
            proxy_pass http://localhost:22300;
    }
```

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [18 January 2021 01:31 UTC](https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012/6 "2021-01-18T01:31:01Z")

</div>

@lovejoplin, I've moved your topic here as the main one should not be for support requests.

---

<div class="post-metadata">

**Author:** ![florider](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@florider](https://discourse.joplinapp.org/u/florider)\
**Post date:** [18 January 2021 09:49 UTC](https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012/7 "2021-01-18T09:49:36Z")

</div>

For the `APP_BASE_URL`, you should use whatever the address will be through the proxy. So in your case that would be [http://your-nginx-webserver/joplin](http://your-nginx-webserver/joplin).

Regarding the login, what storage backend are you using? Are you using the PostgreSQL backend? I haven't used the SQLite backend so can't give feedback on that. I haven't encountered any issues with the Postgres one. I use a second user I created for my Joplin syncs.

---

<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:** [17 February 2021 09:49 UTC](https://discourse.joplinapp.org/t/error-running-joplin-server-on-rpi/14012/8 "2021-02-17T09:49:38Z")

</div>

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