Error on Joplin 3.5.2 | 'unsafe-eval' is not an allowed

Operating system

Linux

Joplin version

3.5.2

What issue do you have?

Error
Joplin encountered a fatal error and could not continue.

To report the error, please copy the *entire content* of this page and post it on Joplin forum or GitHub.

If the error persists you may try to restart in safe mode, which will temporarily disable all plugins.

Message
Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' joplin-content://*".

Version info
Joplin for Desktop

Copyright © 2016-2025 Laurent Cozic
Joplin 3.5.2 (prod, linux)

Gerät: linux, AMD Ryzen 9 5900HX with Radeon Graphics

Sync-Version: 3
Profil-Version: 48
Unterstützter Schlüsselbund: Nein
Alternative Instanz ID: -

Backup: 1.4.3
Freehand Drawing: 3.1.0
Plugins
[
    {
        "id": "io.github.jackgruber.backup",
        "name": "Backup",
        "enabled": false,
        "version": "1.4.3"
    },
    {
        "id": "io.github.personalizedrefrigerator.js-draw",
        "name": "Freehand Drawing",
        "enabled": false,
        "version": "3.1.0"
    }
]
Stack trace
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' joplin-content://*".

    at new Function (<anonymous>)
    at parsePluralForm (file:///usr/lib/joplin/app.asar/main-html.bundle.js:1334:11)
    at getPluralFunction (file:///usr/lib/joplin/app.asar/main-html.bundle.js:1334:373)
    at _n (file:///usr/lib/joplin/app.asar/main-html.bundle.js:1334:2412)
    at NoteCount (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4688:8207)
    at renderWithHooks (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3901:419)
    at mountIndeterminateComponent (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3917:11328)
    at beginWork (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3919:13689)
    at beginWork$1 (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3936:2573)
    at performUnitOfWork (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3932:25989)
Component stack

    at NoteCount (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4688:8189)
    at a
    at I (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4399:3264)
    at div
    at ListItemWrapper (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4688:9146)
    at FolderItem (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4688:15007)
    at div
    at div
    at ItemList (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3833:7728)
    at div
    at FolderAndTagList (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4688:29814)
    at ConnectFunction (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3964:23757)
    at div
    at div
    at I (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4399:3264)
    at SidebarComponent (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4688:31796)
    at ConnectFunction (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3964:23757)
    at div
    at I (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4399:3264)
    at div
    at Resizable (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4607:4254)
    at LayoutItemContainer (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4607:17410)
    at div
    at LayoutItemContainer (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4607:17410)
    at ResizableLayout (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4607:18337)
    at div
    at MainScreenComponent (file:///usr/lib/joplin/app.asar/main-html.bundle.js:5619:491)
    at ConnectFunction (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3964:23757)
    at div
    at NavigatorComponent (file:///usr/lib/joplin/app.asar/main-html.bundle.js:5849:9916)
    at ConnectFunction (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3964:23757)
    at PopupNotificationProvider (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4792:1008)
    at xy.ThemeProvider (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4412:264)
    at ae (file:///usr/lib/joplin/app.asar/main-html.bundle.js:4397:2902)
    at RootComponent (file:///usr/lib/joplin/app.asar/main-html.bundle.js:6409:62)
    at ConnectFunction (file:///usr/lib/joplin/app.asar/main-html.bundle.js:3964:23757)
    at ErrorBoundary (file:///usr/lib/joplin/app.asar/main-html.bundle.js:5363:1200)
    at Provider (file:///us

How to start the safe mode?
Ohh, its a link in the error text.

But it dont help.

Where are you able to get Joplin 3.5.2? I don’t see it on the pre-releases page

pacman -Qi joplin-beta
Name                     : joplin-beta
Version                  : 3.5.2-1
Beschreibung             : A note taking and to-do application with synchronization capabilities (beta version)
Architektur              : x86_64
URL                      : https://joplinapp.org/
Lizenzen                 : AGPL-3.0-or-later
Gruppen                  : Nichts
Stellt bereit            : Nichts
Hängt ab von             : electron37
Optionale Abhängigkeiten : Nichts
Benötigt von             : Nichts
Optional für             : Nichts
In Konflikt mit          : joplin  joplin-desktop  joplin-appimage
Ersetzt                  : Nichts
Installationsgröße       : 114,25 MiB
Packer                   : Garuda Builder <team@garudalinux.org>
Erstellt am              : Do 02 Okt 2025 19:41:56 CEST

Installed with pacman, ok, its beta for arch linux :slight_smile: , but maybe it help the joplin developer (and me). I had to downgrade the app for using the app.

There are so many different joplin apps, I got confused :slight_smile:

I'm linking to the related issue report and fix:

1 Like

Thank you :slight_smile:

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