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

harbor-log start failed #12202

Closed
hongruiji opened this issue Jun 10, 2020 · 2 comments
Closed

harbor-log start failed #12202

hongruiji opened this issue Jun 10, 2020 · 2 comments

Comments

@hongruiji
Copy link

hongruiji commented Jun 10, 2020

Harbor 1.10.2

Use docker-compose

docker logs harbor-log

Changing password for root.
sudo: Account or password is expired, reset your password and try again
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: unable to change expired password: Authentication token manipulation error

cat /usr/local/bin/start.sh

#!/bin/bash
set -e
chown -R 10000:10000 /var/log/docker
crond
rm -f /var/run/rsyslogd.pid


# sudo -u \#10000 -E  'rsyslogd' '-n'

# Change to this , is worker
su  syslog -c 'rsyslogd -n'

set +e
root [ / ]# 
@wilsonge
Copy link

See #11633

@reasonerjt
Copy link
Contributor

Thanks @wilsonge

Closing as a dup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants