Closed Beachviolence closed 1 year ago
Just wondering... How did you run a command when you dont have a "login name"?
You shouldnt edit any files, because this will lead to an "dirty" message in moonrakers update manager.
To fix that simply use make config
and run Installer afterwards.
If I have some spare time I will try to reproduce that, but changing this would be affecting RPI Images which is the main use case for crowsnest :)
btw. it is tested on Ubuntu Server 20.04, so Mint is ubuntu based, it should work flawless.
Regards Kwad
@Beachviolence
Could you please test branch fix/fix62 ?
Its an kinda hacky approach but it should do the job.
Regards Kwad
@KwadFan
I was just following the instructions and got an error message every time. I fixed the "dirty" message with a soft fix in Mainsail afterwards, and its running just fine now. I will try to uninstall and try out both make config
first, and try the branch if i figure out how and when my print is done :)
@KwadFan
I have now unintalled and tried using the make config
, but it resulted in the same error after completing the prompts
logname: no login name
make: *** [Makefile:37: install] Error 1
I am not that skilled with git, but when i type git checkout fix/fix62
it says "your branch is up to date with 'origin/fix/fix62"`, so does that mean that i have tried it?
@KwadFan
I have now unintalled and tried using the
make config
, but it resulted in the same error after completing the promptslogname: no login name
make: *** [Makefile:37: install] Error 1
I am not that skilled with git, but when i type
git checkout fix/fix62
it says "your branch is up to date with 'origin/fix/fix62"`, so does that mean that i have tried it?
- Simon
run git fetch && git pull
Sorry, but no luck still.
Let me know if there is anything else i should try as i would like to contribute in making crowsnest work on all platforms of linux
Sorry, but no luck still.
Let me know if there is anything else i should try as i would like to contribute in making crowsnest work on all platforms of linux
Could please show output of
grep "logname" ~/crowsnest/tools/install.sh
This is the line i edited in order to make it work. I changed logname
to my username, simon
then it would install just fine.
[[ -n "${BASE_USER}" ]] || BASE_USER="$(logname)"
Ok, something went wrong during the checkout. Should look like this:
[[ -n "${BASE_USER}" ]] || BASE_USER="$(logname 2> /dev/null || echo "${PWD}" | cut -d'/' -f3)"
ah yes, i tried to delete everything and try again, and forgot to do the checkout. I did the checkout and ran the install, and it worked just fine. Sorry!
ah yes, i tried to delete everything and try again, and forgot to do the checkout. I did the checkout and ran the install, and it worked just fine. Sorry!
Great! One last thing please provide output of lsb_release -a
Now it says "invalid" in the update manager in Mainsail, but i assume that is because its not from the master branch.
Here is the output:
simon@simon-octoklipper:~/crowsnest$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 21
Release: 21
Codename: vanessa
Now it says "invalid" in the update manager in Mainsail, but i assume that is because its not from the master branch.
Exactly, wait a couple Hours I will merge that to master, then checkout master branch again. I will ping you here when its done and thanks for being patient and testing!
@Beachviolence Please switch to branch "master" again...
Is your feature request related to a problem? Please describe
When running the command
sudo make install
i get the error "logname: no login name". In order to fix it i had to edit the "install.sh" file line 22:[[ -n "${BASE_USER}" ]] || BASE_USER="$(logname)"
and replace "logname" with my username.Describe the solution you'd like
Able to install on Linux Mint OS without doing the fix. Unsure if it affects other operating systems.
Describe alternatives you've considered
Alternativly update documentation to describe the fix.
Additional information
No response