Giter VIP home page Giter VIP logo

Comments (17)

Jordo-o avatar Jordo-o commented on September 6, 2024 1

No hurry, I have the time!
It's already very nice that want to look for a solution! :D

from kepler.

Quackster avatar Quackster commented on September 6, 2024

The problem is the mismatch somewhere on your install between 32-bit and 64-bit installation. I'm not sure where exactly, as it is your installation.

I've had this problem years ago, I just tried compiling it on a fresh VPS running Ubuntu 18.04 without trouble.

I used:

  • Gradle 4.1
  • Java 12 OpenJDK
  • "gradle fatJar" command inside /Kepler/Kepler-Server/ and it will produce a runnable jar in /Kepler/Kepler-Server/build/libs

I'm sorry, you might have better luck recompiling it.

from kepler.

Jordo-o avatar Jordo-o commented on September 6, 2024

Thanks for the reply!
I rebuild the server with

  • Gradle 5.2
  • Java (zulu) 13
  • Arm v71

Unfortunately, still the same error on register :(
I hope that you can help me with the problem.

from kepler.

Quackster avatar Quackster commented on September 6, 2024

Well I'm dumbfounded, there was a way to solve this but I literally cannot remember.

If you can wait, I can add an option to use a different type of password hashing.

from kepler.

Quackster avatar Quackster commented on September 6, 2024

Hello,

Can you check out v1.32 release? Delete your server.ini and then after its recreated, edit password.hashing.library from argon2 to bcrypt

https://github.com/Quackster/Kepler/releases/tag/v1.32

Please don't change it back to argon2 in future, otherwise no one will be able to login.

from kepler.

Jordo-o avatar Jordo-o commented on September 6, 2024

I downloaded the pre-build version, and I rebuild the source again myself, but both give the same issue:

Error: Could not find or load main class org.alexdev.kepler.Kepler
Caused by: java.lang.ClassNotFoundException: org.alexdev.kepler.Kepler

Build using:
Gradle 5.2.1
Kotlin DSL: 1.1.3
Kotlin: 1.3.20
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 13.0.4 (Azul Systems, Inc. 13.0.4+8-MTS)
OS: Linux 5.4.83-v8+ arm

from kepler.

Quackster avatar Quackster commented on September 6, 2024

My apologies, can you try and build from source again? Also remember what I said about server.ini

I'll fix the compiled version soon.

from kepler.

Jordo-o avatar Jordo-o commented on September 6, 2024

I cloned the master after your latest update and manage to compile it.
But still the same error:

Error: Could not find or load main class org.alexdev.kepler.Kepler
Caused by: java.lang.ClassNotFoundException: org.alexdev.kepler.Kepler

from kepler.

emansom avatar emansom commented on September 6, 2024

How are you running Kepler specifically? In a container? What distro?

Unable to load library '/tmp/nativeutils1203363710640636/libsodium.so'
That error compels me to think it's related to how that directory is mounted. It might not be allowed to execute programs from or open/write said directory.

from kepler.

Jordo-o avatar Jordo-o commented on September 6, 2024

I am running Kepler on my raspberry pi 4B+
Linux raspberrypi 5.4.83-v8+ #1379 aarch64.

I cloned the repo into my etc folder with:
git clone https://github.com/Quackster/Kepler.git

And run the command 'gradle fatJar' with the settings mentioned above.
But the /tmp folder should be writable for every user.

from kepler.

emansom avatar emansom commented on September 6, 2024

What's the output of mount | grep '/tmp' and lsb_release -a?

from kepler.

Jordo-o avatar Jordo-o commented on September 6, 2024

The output of mount | grep '/tmp', is nothing

the output of lsb_release -a, is

No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster

from kepler.

emansom avatar emansom commented on September 6, 2024

Try configuring a tmpfs in RAM and see if that changes things.
Add following line to /etc/fstab:
tmpfs /tmp tmpfs defaults,size=10M 0 0

Then execute
sudo systemctl daemon-reload
sudo systemctl restart local-fs.target

from kepler.

Jordo-o avatar Jordo-o commented on September 6, 2024

I changed the settings according to @emansom his comment, and tested with the prebuild version 1.31 (because I could not build 1.32).

Unfortunately, I still have the same error:

ERROR [ErrorLogger] - Netty error occurred: 
java.lang.UnsatisfiedLinkError: Unable to load library '/tmp/nativeutils42354009545945/libsodium.so': Native library (tmp/nativeutils42354009545945/libsodium.so) not found in resource path (kepler.jar)

And an other question:

My apologies, can you try and build from source again? Also remember what I said about server.ini

I'll fix the compiled version soon.

@Quackster, did you already manage to fix the compiled version of V1.32?
Maybe I can test that one with the changes I've made according to above information.

from kepler.

Quackster avatar Quackster commented on September 6, 2024

The compiled version was fixed the same day as release. Anyways, as far as I'm concerned, there will have to be a special build for you to remove libsodium, but I am not going to do that.

from kepler.

Quackster avatar Quackster commented on September 6, 2024

Add me on Discord my name is Quack#1337 and we can probably work something out.

from kepler.

Jordo-o avatar Jordo-o commented on September 6, 2024

Add me on Discord my name is Quack#1337 and we can probably work something out.

Thank you! I'll search for you on discord!

from kepler.

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.