Giter Club home page Giter Club logo

Comments (4)

nathanaelhoun avatar nathanaelhoun commented on August 25, 2024 3

I was able to reproduce on ArchLinux, with both ferdium-git, ferdium-bin and ferdium packages.

Deleting a service returns error 500 with message delete from services where serviceId = 'REDACTED' - SQLITE_READONLY: attempt to write a readonly database.
With @vraravam's tip, the fact that port 45570 was used suggested me that I had something running on the background taking Ferdium's usual port.

After a sudo netstat -tulpn, I found the culprit: other process of Ferdium was running on the background, and was locking the database file (hence "readonly database").
killall ferdium ⇒ Ferdium is now working correctly 👍

Thanks for your tip about the port, closing the issue :-)

from ferdium-app.

Gaboris avatar Gaboris commented on August 25, 2024 1

Can not reproduce on Win10 21H02 neither with Nightly 7 nor 10.

Is the internal server meant to use a different port on Linux or does it use them for different functions? I'm asking since the Export/Import menu is reached using http://localhost:45569/ and trying to access http://localhost:45570 just gives me a standard browser error.

from ferdium-app.

vraravam avatar vraravam commented on August 25, 2024 1

Is the internal server meant to use a different port on Linux or does it use them for different functions?

From the code, the app just tries the next open port (starting at 45569 and incrementing by 1) while starting up the internal server. I dont think this is any different across OSes. Due to the unknown port (sometimes its not 45569), is why I had implemented the Help menu item to have a surefire way to reach the running instance of the internal server.

from ferdium-app.

vraravam avatar vraravam commented on August 25, 2024

I'm on the latest code, and am unable to reproduce this error.
Screenshot 2022-04-22 at 7 38 34 PM

from ferdium-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.