Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install and update questions #228

Open
torabi12 opened this issue Jan 2, 2025 · 8 comments
Open

Install and update questions #228

torabi12 opened this issue Jan 2, 2025 · 8 comments
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file EMBArk

Comments

@torabi12
Copy link

torabi12 commented Jan 2, 2025

Describe the bug
I would like to ask, when I install EMBArk, will it use the current emba version?
When installing EMBArk the EMBA github version line, displays there is a newer version.

To Reproduce
Steps to reproduce the behavior:

  1. EMBArk installation default mode
  2. Check Dependencies section during the install process.

Expected behavior
EMBArk should use the latest emba.

Screenshots
kép

Desktop (please complete the following information):

  • OS: Ubuntu Server 22.04.5 LTS
@torabi12
Copy link
Author

torabi12 commented Jan 4, 2025

When I want to upgrade my EMBArk and emba systems, I usually do this:

git pull

in ~/embark and

sudo ./emba -U

in ~/embark/emba folder.

The emba -U always drops that updates available:

kép

and when I start the EMBArk server it comes again:

kép

even if I just ran the updates.

I tried the update feature on the web site and the check starts but does not display any message to the user if it's over:

kép

The "checking now" remains on the site.

I also tried the updates after the check and for me only the first attempt was working. I tried CVE update and I got the terminal in the browser but after I tried Git update and did not show any information about the result. The "Updating now" title remained at the top of the page.

When I start the server there is a red error about the user:

kép

I only have one user who works fine and can log in to the interface, but I get an error on startup.

If there is a better way to update EMBArk and emba systems that is more efficient, please help me how to do it. Thank you.

@BenediktMKuehne
Copy link
Member

  1. The user error is about the default admin user - needed for the admin pages
  2. I've noticed that issue with the version checker too
    It's probably a rather simple bug.

@BenediktMKuehne BenediktMKuehne added bug Something isn't working dependencies Pull requests that update a dependency file EMBArk labels Jan 4, 2025
@BenediktMKuehne BenediktMKuehne self-assigned this Jan 4, 2025
@torabi12 torabi12 changed the title Install question Install and update questions Jan 4, 2025
@torabi12
Copy link
Author

I would like to update an emba installation on EMBArk Server but the
$ sudo ./emba -U

in embark/emba folder does not get the actual emba version.

Image

Could you help me how to get the latest emba without reinstalling the entire EMBArk server?

@BenediktMKuehne
Copy link
Member

BenediktMKuehne commented Jan 22, 2025

Might be because it's a detached branch...
In the project directory I normally use git submodule update --remote

and to re-install/update manually:

  1. sudo rm -rf ./emba/external
  2. sudo ./emba/installer.sh -d

@torabi12
Copy link
Author

Thank you, this helps a lot!

@torabi12
Copy link
Author

torabi12 commented Jan 22, 2025

I did a new installation today and I got some strange warnings at the end:

Image

Starting EMBArk also drops the same:

Image

Just wanted to share the warnings, the server works fine after login.

@BenediktMKuehne
Copy link
Member

uhm mysql has funny variables :D

I'll look into it

@torabi12
Copy link
Author

uhm mysql has funny variables :D

I'll look into it

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file EMBArk
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants