Code Monkey home page Code Monkey logo

Comments (12)

Telestosatt avatar Telestosatt commented on July 19, 2024 1

I tried to install a new server, but I get this error after editing the config file. In the config file there is no comment for this setting. I tried CRYPTPASSWORD 1234 but that didn't work either. Is there a possibility to install server without cryptpassword?

Thanks.

Facing same issue :(

before I started installimage I had to set CRYPT=0 I don't know if this behave as intended.

Tried this. But still facing same issue :(

Any idea how to fix it?

from installimage.

Gogoro avatar Gogoro commented on July 19, 2024 1

I had this same issue, and I thought I was going crazy. Finally found the issue, and I just wanted to share in case someone else find themselves in the same situation.

I had this configuration:

PART    /boot     ext3    2G # Should be enough
PART    lvm       vg0     all # Rest goes to LVM

LV    vg0     root    /           ext4    100G # filesystem should have 100G
LV    vg0     rook    /mnt/rook   xfs    all # The rest is going to be used by Rook

I should have understood it earlier, but as this comment mentions. Having too many parameters will make the script think that it should use encryption.

I just removed my comments, and everything works as it should 🥳

from installimage.

sneakyx avatar sneakyx commented on July 19, 2024

before I started installimage I had to set CRYPT=0
I don't know if this behave as intended.

from installimage.

asciiprod avatar asciiprod commented on July 19, 2024

Thanks, there was a missing check.

from installimage.

sneakyx avatar sneakyx commented on July 19, 2024

So is it fixed? I didn't find something that mentioned this issue.

from installimage.

asciiprod avatar asciiprod commented on July 19, 2024

Yes, it should be. If you still have issues, please open a support request with the config you are using.
The commits in this repository do not reflect or mention issues reported via Github.

from installimage.

asciiprod avatar asciiprod commented on July 19, 2024

Are you using installimage on a Hetzner Server or are you using this repository in your own infrastructure?

from installimage.

Telestosatt avatar Telestosatt commented on July 19, 2024

Are you using installimage on a Hetzner Server or are you using this repository in your own infrastructure?

I am using installimage command in hertzner server (rescue mode)

from installimage.

asciiprod avatar asciiprod commented on July 19, 2024

Then please open a support ticket with your config.

from installimage.

Telestosatt avatar Telestosatt commented on July 19, 2024

Then please open a support ticket with your config.

Added CRYPTPASSWORD xxxxxxxx in config (after partition portion) and It allowed me to proceed further
(xxxxxxxx was a number)
Hope no issues will arise in future 😅

from installimage.

mdengler avatar mdengler commented on July 19, 2024

I tried to install a new server, but I get this error after editing the config file. In the config file there is no comment for this setting. I tried CRYPTPASSWORD 1234 but that didn't work either. Is there a possibility to install server without cryptpassword?
Thanks.

Facing same issue :(

before I started installimage I had to set CRYPT=0 I don't know if this behave as intended.

Tried this. But still facing same issue :(

Any idea how to fix it?

I had the same symptom, and the problem was a PART line that had an extra
characters at the end (including comments!), which the
functions.sh/installimage script thinks (see below SCRIPT) is related to cryptsetup and then sets CRYPT=1:

WRONG/ERROR:

[...]
PART root / ext4 100G
[...]

...corrected:

[...]
PART / ext4 100G
[...]

SCRIPT

The code is functions.sh#772:

[...]
  i=0
  while read -r PART_LINE ; do
    i=$((i+1))
    PART_MOUNT[$i]="$(echo "$PART_LINE" | awk '{print $2}')"
    PART_FS[$i]="$(echo "$PART_LINE" | awk '{print $3}')"
    PART_SIZE[$i]="$(translate_unit "$(echo "$PART_LINE" | awk '{ print $4 }')")"
    PART_CRYPT[$i]="$(echo "$PART_LINE" | awk '{print $5}')"
[...]
    if [ -n "${PART_CRYPT[$i]}" ]; then
      export CRYPT="1"
    fi

from installimage.

mdengler avatar mdengler commented on July 19, 2024

I just removed my comments,

This indeed seems unexpected and fragile. I edited my comment in case it helps others. Once one knows, one'll never do it again, but maybe the maintainers will accept patches to make the behavior less surprising.

from installimage.

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.