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

[NOT A BUG] ./setup.sh not running #2211

Closed
4 tasks done
lukematthews opened this issue Sep 25, 2021 · 6 comments · Fixed by #2217
Closed
4 tasks done

[NOT A BUG] ./setup.sh not running #2211

lukematthews opened this issue Sep 25, 2021 · 6 comments · Fixed by #2217
Labels
issue/duplicate This issue is a duplicate of another issue

Comments

@lukematthews
Copy link

lukematthews commented Sep 25, 2021

Miscellaneous first checks

  • I checked that all ports are open and not blocked by my ISP / hosting provider.
  • I know that SSL errors are likely the result of a wrong setup on the user side and not caused by DMS itself. I'm confident my setup is correct.

Affected Component(s)

./setup.sh not running

What happened and when does this occur?

Hi All,

First time user starting with a fresh install.

I've downloaded the docker-compose.yml and mailserver.env in the root of the repo. Modifying mailserver.env to enable LDAP let's the service start by running:
`docker-compose up --build -d`

Running `./setup.sh help` gives me:

`OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "setup": executable file not found in $PATH: unknown`

What did you expect to happen?

Well, anything. Passing `help` I don't even get the help messages.

How do we replicate the issue?

wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/setup.sh
wget https://github.com/docker-mailserver/docker-mailserver/blob/master/docker-compose.yml
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/mailserver.env
chmod a+x setup.sh

modified mailserver.env to enable LDAP 
ENABLE_LDAP=1

./setup.sh

DMS version

latest

How much RAM is available to DMS explicitly?

more than 4GB

How many CPU cores are available?

more than 4 Cores

Is DMS running in a virtualized environment?

... a physical host (with real, physical CPU cores, i.e. bare metal)

What operating system is DMS running on?

Linux

What instruction set architecture is DMS running on?

x86_64 / AMD64

I/O - Persistent memory

Standard EXT4 setup

What container orchestration tool are you using?

Docker Compose

Docker version

Docker version 20.10.8, build 3967b7d

Docker Compose version

docker-compose version 1.29.2, build 5becea4c

The output of uname -a

Linux home-server 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Important environment variables

No response

Relevant log output

No response

Other relevant information

No response

What level of experience do you have with Docker and mail servers?

I'm comfortable with Docker / containers, but I'm relatively new to all this mail stuff

Code of conduct

Improvements to this form?

No response

@lukematthews lukematthews added kind/bug meta/needs triage This issue / PR needs checks and verification from maintainers priority/medium labels Sep 25, 2021
@georglauterbach
Copy link
Member

georglauterbach commented Sep 25, 2021

(Very very obvious) Duplicate of #2203. @lukematthews you stated that you searched the issue tracker with your last tick in the form. #2203 is even pinned. Sorry, but I cannot believe you really searched this tracker for anything…

—-

Until v10.2.0 is released, I‘m pinning this so others may see it.

@georglauterbach georglauterbach added issue/duplicate This issue is a duplicate of another issue and removed kind/bug meta/needs triage This issue / PR needs checks and verification from maintainers priority/medium labels Sep 25, 2021
@georglauterbach georglauterbach pinned this issue Sep 25, 2021
@georglauterbach georglauterbach changed the title ./setup.sh not running [NOT A BUG] ./setup.sh not running Sep 25, 2021
@lukematthews
Copy link
Author

Sorry about that. You're right, after submitting this, I went through the closed as opposed to just the open and saw a couple of bugs there already.

Again, I'm sorry about that.

@lukematthews
Copy link
Author

and... moved to the right tag. Works. Problem with being a software developer is that reading is not a strength!

@polarathene
Copy link
Member

moved to the right tag

Assuming :edge (build of last development commit), note that this differs from :latest (active stable release). For similar reasons to why you shouldn't rely on :latest in production, :edge is risky. It is not guaranteed to be in a known good condition and may experience missed bugs that we try to catch prior to making a new release. Think of :edge as a beta version.

Both tags may result in breaking changes if you rely on them, as we may release new major versions and since these tags are not immutable, you could accidentally pull an update without knowing, and not having reviewed any changelog notes as a result. Depending on changes made, that could risk breakage, bugs or (hopefully unlikely) data loss.


The issue you experienced unfortunately is due to the upcoming 10.2 version release preparation, we are removing this problem with needing to manually download a release version specific copy of setup.sh. The README does warn the reader about this.

@polarathene
Copy link
Member

Leaving this alternatively pinned issue open until the 10.2 release. It should at least appear on the 1st page of issues for now (despite the obvious pins at the top that may be missed).

@georglauterbach
Copy link
Member

v10.2.0 was released minutes ago. The image should be available in the next few hours :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/duplicate This issue is a duplicate of another issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants