Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215

Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
完全卸载删除gitlab – 扎老铁
Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215

Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /www/wwwroot/dev.zhalaotie.com/wp-includes/wp-db.php on line 3215
class="post-53148 post type-post status-publish format-standard hentry">

完全卸载删除gitlab

完全卸载删除gitlab

 

完全卸载删除gitlab

1、停止gitlab

2、卸载gitlab(注意这里写的是gitlab-ce)

3、查看gitlab进程

4、杀掉第一个进程(就是带有好多………….的进程)

杀掉后,在ps aux | grep gitlab确认一遍,还有没有gitlab的进程

5、删除所有包含gitlab文件

find / -name gitlab | xargs rm -rf

 

 

如果  gitlab-ctl reconfigure 卡住在 Error executing action `run` on resource ‘ruby_block[supervise_redis_sleep],

All right! Great!

I did a CTRL+C and worked with sudo systemctl restart gitlab-runsvdir.

Then sudo gitlab-ctl reconfigure.

Sources:

Main solution: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/common_installation_problems/README.md#reconfigure-freezes-at-ruby_blocksupervise_redis_sleep-action-run

#349 (closed)

 

注意各版本 gitlab 的配置参数略有不同,网上找的配置参数无效,请确认版本是否对应。

发表评论

电子邮件地址不会被公开。