Hiển thị các bài đăng có nhãn gitlab. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn gitlab. Hiển thị tất cả bài đăng

Gitlab: SSL cannot renew

 https://stackoverflow.com/questions/58840329/problem-binding-to-port-80-could-not-bind-to-ipv4-or-ipv6

gitlab-ctl stop

letsencrypt certonly --standalone -d gitlab.*.com

You must stop your server before you run certbot.

That’s your problem–if your application is listening on port 80, then certbot can’t listen on that port, and therefore it can’t run. https://community.letsencrypt.org/t/problem-binding-to-port-80-with-standalone/50850/4

Then rerun the certbot command and of course start your web server again to continue broadcasting your sites.

GITLAB: How to reset user password

 How to reset user password | GitLab

There are a few ways to reset the password of a user.

Rake Task

Introduced in GitLab 13.9.

GitLab provides a Rake Task to reset passwords of users using their usernames, which can be invoked by the following command:

sudo gitlab-rake "gitlab:password:reset"

GitLab asks for a username, a password, and a password confirmation. Upon giving proper values for them, the password of the specified user is updated.

The Rake task also takes the username as an argument, as shown in the example below:

sudo gitlab-rake "gitlab:password:reset[johndoe]"
To reset the default admin password, run this Rake task with the username root, which is the default username of that administrator account.

Renewing Facebook Graph API token automatically?

  Mã truy cập dài hạn https://developers.facebook.com/docs/facebook-login/guides/access-tokens/get-long-lived/ https://community.n8n.io/t/re...