极狐GitLab 正式推出面向 GitLab 老旧版本(12.x、13.x、14.x、15.x 等)免费用户的专业升级服务,点击查看详情

返回列表 发布新帖

关于Gitlab CE 修改图标问题

439 7
发表于 2024-9-11 11:06:58 | 显示全部楼层 阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×

如何修改gitlab图标

在 admin设置页面 中上传图标后 图标大小没有超过1MB 像素 32x32 png格式 保存后跳转页面报错500

image.png

image.png

回复

使用道具 举报

评论7

LiuTC楼主Lv.1 发表于 2024-9-11 11:10:10 | 显示全部楼层
在docker下部署的
log日志片段 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
root@45763a5c83d5:/var/log/gitlab/gitlab-rails# tail production.log
rack (2.2.9) lib/rack/urlmap.rb:74:in `block in call'
rack (2.2.9) lib/rack/urlmap.rb:58:in `each'
rack (2.2.9) lib/rack/urlmap.rb:58:in `call'
puma (6.4.0) lib/puma/configuration.rb:272:in `call'
puma (6.4.0) lib/puma/request.rb:100:in `block in handle_request'
puma (6.4.0) lib/puma/thread_pool.rb:378:in `with_force_shutdown'
puma (6.4.0) lib/puma/request.rb:99:in `handle_request'
puma (6.4.0) lib/puma/server.rb:443:in `process_client'
puma (6.4.0) lib/puma/server.rb:241:in `block in run'
puma (6.4.0) lib/puma/thread_pool.rb:155:in `block in spawn_thread'
回复

使用道具 举报

zookeeperLv.7 发表于 2024-9-11 11:45:31 | 显示全部楼层
日志被截断了,发一下完整的
回复

使用道具 举报

LiuTC楼主Lv.1 发表于 2024-9-11 13:13:33 | 显示全部楼层
zookeeper 发表于 2024-9-11 11:45
日志被截断了,发一下完整的

私发给您了
回复

使用道具 举报

LiuTC楼主Lv.1 发表于 2024-9-11 13:17:45 | 显示全部楼层
zookeeper 发表于 2024-9-11 11:45
日志被截断了,发一下完整的

C:\Users\17354>docker exec -it gitlab /bin/bash
root@38945f6c58d9:/# find /var/log/gitlab -type f -mtime 0 -exec grep '01J7FR2VAX3YPYKK3TG29GD97M' '{}' '+'
/var/log/gitlab/gitlab-rails/api_json.log:{"time":"2024-09-11T05:14:47.031Z","severity":"INFO","duration_s":0.00503,"db_duration_s":0.00144,"view_duration_s":0.00359,"status":200,"method":"POST","path":"/api/v4/internal/workhorse/authorize_upload","params":[],"host":"localhost","remote_ip":"172.17.0.1","ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","route":"/api/:version/internal/workhorse/authorize_upload","redis_calls":7,"redis_allowed_cross_slot_calls":1,"redis_duration_s":0.00062,"redis_read_bytes":182,"redis_write_bytes":1090,"redis_db_load_balancing_calls":2,"redis_db_load_balancing_duration_s":0.000111,"redis_db_load_balancing_write_bytes":104,"redis_feature_flag_calls":2,"redis_feature_flag_duration_s":0.000152,"redis_feature_flag_read_bytes":2,"redis_feature_flag_write_bytes":377,"redis_sessions_calls":3,"redis_sessions_allowed_cross_slot_calls":1,"redis_sessions_duration_s":0.000357,"redis_sessions_read_bytes":180,"redis_sessions_write_bytes":609,"db_count":3,"db_write_count":0,"db_cached_count":0,"db_txn_count":0,"db_replica_txn_count":0,"db_primary_txn_count":0,"db_main_txn_count":0,"db_ci_txn_count":0,"db_main_replica_txn_count":0,"db_ci_replica_txn_count":0,"db_replica_count":0,"db_primary_count":3,"db_main_count":3,"db_ci_count":0,"db_main_replica_count":0,"db_ci_replica_count":0,"db_replica_cached_count":0,"db_primary_cached_count":0,"db_main_cached_count":0,"db_ci_cached_count":0,"db_main_replica_cached_count":0,"db_ci_replica_cached_count":0,"db_replica_wal_count":0,"db_primary_wal_count":0,"db_main_wal_count":0,"db_ci_wal_count":0,"db_main_replica_wal_count":0,"db_ci_replica_wal_count":0,"db_replica_wal_cached_count":0,"db_primary_wal_cached_count":0,"db_main_wal_cached_count":0,"db_ci_wal_cached_count":0,"db_main_replica_wal_cached_count":0,"db_ci_replica_wal_cached_count":0,"db_replica_txn_max_duration_s":0.0,"db_primary_txn_max_duration_s":0.0,"db_main_txn_max_duration_s":0.0,"db_ci_txn_max_duration_s":0.0,"db_main_replica_txn_max_duration_s":0.0,"db_ci_replica_txn_max_duration_s":0.0,"db_replica_txn_duration_s":0.0,"db_primary_txn_duration_s":0.0,"db_main_txn_duration_s":0.0,"db_ci_txn_duration_s":0.0,"db_main_replica_txn_duration_s":0.0,"db_ci_replica_txn_duration_s":0.0,"db_replica_duration_s":0.0,"db_primary_duration_s":0.002,"db_main_duration_s":0.002,"db_ci_duration_s":0.0,"db_main_replica_duration_s":0.0,"db_ci_replica_duration_s":0.0,"cpu_s":0.019359,"mem_objects":8746,"mem_bytes":716288,"mem_mallocs":2698,"mem_total_bytes":1066128,"pid":2259,"worker_id":"puma_0","rate_limiting_gates":[],"correlation_id":"01J7FR2VAX3YPYKK3TG29GD97M","meta.caller_id":"POST /api/:version/internal/workhorse/authorize_upload","meta.remote_ip":"172.17.0.1","meta.feature_category":"not_owned","meta.client_id":"ip/172.17.0.1","content_length":"0","request_urgency":"default","target_duration_s":1}
/var/log/gitlab/gitlab-rails/production_json.log:{"method":"PATCH","path":"/admin/application_settings/appearance","format":"html","controller":"Admin::ApplicationSettings::AppearancesController","action":"update","status":500,"time":"2024-09-11T05:14:47.080Z","params":[{"key":"_method","value":"patch"},{"key":"authenticity_token","value":"[FILTERED]"},{"key":"appearance","value":{"favicon_cache":"","favicon":"#<UploadedFile:0x00007fab9db16700>","member_guidelines":"","header_logo_cache":"","new_project_guidelines":"","profile_image_guidelines":"","pwa_name":"Git管理系统","pwa_short_name":"Git管理系统","pwa_description":"安徽Git管理系统","pwa_icon_cache":"","title":"[FILTERED]","description":"[FILTERED]","logo_cache":"","header_message":"安徽Git管理系统","footer_message":"代码请勿 泄露","email_header_and_footer_enabled":"0","message_background_color":"#e75e40","message_font_color":"#ffffff"}}],"correlation_id":"01J7FR2VAX3YPYKK3TG29GD97M","meta.caller_id":"Admin::ApplicationSettings::AppearancesController#update","meta.remote_ip":"172.17.0.1","meta.feature_category":"navigation","meta.user":"root","meta.user_id":1,"meta.client_id":"user/1","remote_ip":"172.17.0.1","user_id":1,"username":"root","ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","queue_duration_s":0.014385,"request_urgency":"low","target_duration_s":5,"redis_calls":6,"redis_allowed_cross_slot_calls":1,"redis_duration_s":0.0005740000000000001,"redis_read_bytes":1589,"redis_write_bytes":754,"redis_cache_calls":1,"redis_cache_duration_s":0.000119,"redis_cache_read_bytes":1409,"redis_cache_write_bytes":41,"redis_db_load_balancing_calls":2,"redis_db_load_balancing_duration_s":0.000104,"redis_db_load_balancing_write_bytes":104,"redis_sessions_calls":3,"redis_sessions_allowed_cross_slot_calls":1,"redis_sessions_duration_s":0.000351,"redis_sessions_read_bytes":180,"redis_sessions_write_bytes":609,"db_count":4,"db_write_count":0,"db_cached_count":0,"db_txn_count":0,"db_replica_txn_count":0,"db_primary_txn_count":0,"db_main_txn_count":0,"db_ci_txn_count":0,"db_main_replica_txn_count":0,"db_ci_replica_txn_count":0,"db_replica_count":0,"db_primary_count":4,"db_main_count":4,"db_ci_count":0,"db_main_replica_count":0,"db_ci_replica_count":0,"db_replica_cached_count":0,"db_primary_cached_count":0,"db_main_cached_count":0,"db_ci_cached_count":0,"db_main_replica_cached_count":0,"db_ci_replica_cached_count":0,"db_replica_wal_count":0,"db_primary_wal_count":0,"db_main_wal_count":0,"db_ci_wal_count":0,"db_main_replica_wal_count":0,"db_ci_replica_wal_count":0,"db_replica_wal_cached_count":0,"db_primary_wal_cached_count":0,"db_main_wal_cached_count":0,"db_ci_wal_cached_count":0,"db_main_replica_wal_cached_count":0,"db_ci_replica_wal_cached_count":0,"db_replica_txn_max_duration_s":0.0,"db_primary_txn_max_duration_s":0.0,"db_main_txn_max_duration_s":0.0,"db_ci_txn_max_duration_s":0.0,"db_main_replica_txn_max_duration_s":0.0,"db_ci_replica_txn_max_duration_s":0.0,"db_replica_txn_duration_s":0.0,"db_primary_txn_duration_s":0.0,"db_main_txn_duration_s":0.0,"db_ci_txn_duration_s":0.0,"db_main_replica_txn_duration_s":0.0,"db_ci_replica_txn_duration_s":0.0,"db_replica_duration_s":0.0,"db_primary_duration_s":0.001,"db_main_duration_s":0.001,"db_ci_duration_s":0.0,"db_main_replica_duration_s":0.0,"db_ci_replica_duration_s":0.0,"cpu_s":0.019147,"mem_objects":11290,"mem_bytes":2446328,"mem_mallocs":4299,"mem_total_bytes":2897928,"pid":2259,"worker_id":"puma_0","uploaded_file_upload_duration_s":0.002046612,"uploaded_file_size_bytes":2256,"rate_limiting_gates":[],"exception.class":"Errno::ENOENT","exception.message":"No such file or directory @ apply2files - /opt/gitlab/embedded/service/gitlab-rails/public/uploads/-/system/tmp/work/1726031687-2259-0006-7622/32.png","exception.backtrace":["carrierwave (1.3.4) lib/carrierwave/sanitized_file.rb:319:in `chmod'","carrierwave (1.3.4) lib/carrierwave/sanitized_file.rb:319:in `chmod!'","carrierwave (1.3.4) lib/carrierwave/sanitized_file.rb:187:in `move_to'","carrierwave (1.3.4) lib/carrierwave/uploader/cache.rb:132:in `cache!'","app/uploaders/object_storage.rb:430:in `cache!'","carrierwave (1.3.4) lib/carrierwave/mounter.rb:44:in `block in cache'","carrierwave (1.3.4) lib/carrierwave/mounter.rb:42:in `map'","carrierwave (1.3.4) lib/carrierwave/mounter.rb:42:in `cache'","carrierwave (1.3.4) lib/carrierwave/mount.rb:146:in `favicon='","carrierwave (1.3.4) lib/carrierwave/orm/activerecord.rb:70:in `favicon='","activemodel (7.0.8.4) lib/active_model/attribute_assignment.rb:49:in `public_send'","activemodel (7.0.8.4) lib/active_model/attribute_assignment.rb:49:in `_assign_attribute'","activerecord (7.0.8.4) lib/active_record/attribute_assignment.rb:21:in `block in _assign_attributes'","activerecord (7.0.8.4) lib/active_record/attribute_assignment.rb:13:in `each'","activerecord (7.0.8.4) lib/active_record/attribute_assignment.rb:13:in `_assign_attributes'","gems/activerecord-gitlab/lib/active_record/gitlab_patches/rescue_from.rb:40:in `_assign_attributes'","activemodel (7.0.8.4) lib/active_model/attribute_assignment.rb:34:in `assign_attributes'","vendor/gems/attr_encrypted/lib/attr_encrypted/adapters/active_record.rb:30:in `perform_attribute_assignment'","vendor/gems/attr_encrypted/lib/attr_encrypted/adapters/active_record.rb:38:in `assign_attributes'","activerecord (7.0.8.4) lib/active_record/persistence.rb:770:in `block in update'","activerecord (7.0.8.4) lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'","activerecord (7.0.8.4) lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'","activesupport (7.0.8.4) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'","activesupport (7.0.8.4) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'","activesupport (7.0.8.4) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'","activesupport (7.0.8.4) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'","activerecord (7.0.8.4) lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'","activerecord (7.0.8.4) lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'","lib/gitlab/database/load_balancing/connection_proxy.rb:127:in `public_send'","lib/gitlab/database/load_balancing/connection_proxy.rb:127:in `block in write_using_load_balancer'","lib/gitlab/database/load_balancing/load_balancer.rb:141:in `block in read_write'","lib/gitlab/database/load_balancing/load_balancer.rb:228:in `retry_with_backoff'","lib/gitlab/database/load_balancing/load_balancer.rb:130:in `read_write'","lib/gitlab/database/load_balancing/connection_proxy.rb:126:in `write_using_load_balancer'","lib/gitlab/database/load_balancing/connection_proxy.rb:78:in `transaction'","activerecord (7.0.8.4) lib/active_record/transactions.rb:350:in `with_transaction_returning_status'","activerecord (7.0.8.4) lib/active_record/persistence.rb:769:in `update'","app/controllers/admin/application_settings/appearances_controller.rb:27:in `update'","actionpack (7.0.8.4) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'","actionpack (7.0.8.4) lib/abstract_controller/base.rb:215:in `process_action'","actionpack (7.0.8.4) lib/action_controller/metal/rendering.rb:165:in `process_action'","actionpack (7.0.8.4) lib/abstract_controller/callbacks.rb:234:in `block in process_action'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:118:in `block in run_callbacks'","app/controllers/application_controller.rb:474:in `set_current_admin'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","lib/gitlab/session.rb:11:in `with_session'","app/controllers/application_controller.rb:465:in `set_session_storage'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","lib/gitlab/i18n.rb:114:in `with_locale'","lib/gitlab/i18n.rb:120:in `with_user_locale'","app/controllers/application_controller.rb:456:in `set_locale'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","marginalia (1.11.1) lib/marginalia.rb:109:in `record_query_comment'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","app/controllers/application_controller.rb:449:in `set_current_context'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","sentry-rails (5.18.2) lib/sentry/rails/controller_transaction.rb:30:in `block in sentry_around_action'","sentry-ruby (5.18.2) lib/sentry/hub.rb:102:in `with_child_span'","sentry-ruby (5.18.2) lib/sentry-ruby.rb:491:in `with_child_span'","sentry-rails (5.18.2) lib/sentry/rails/controller_transaction.rb:16:in `sentry_around_action'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:138:in `run_callbacks'","actionpack (7.0.8.4) lib/abstract_controller/callbacks.rb:233:in `process_action'","actionpack (7.0.8.4) lib/action_controller/metal/rescue.rb:23:in `process_action'","actionpack (7.0.8.4) lib/action_controller/metal/instrumentation.rb:67:in `block in process_action'","activesupport (7.0.8.4) lib/active_support/notifications.rb:206:in `block in instrument'","activesupport (7.0.8.4) lib/active_support/notifications/instrumenter.rb:24:in `instrument'","activesupport (7.0.8.4) lib/active_support/notifications.rb:206:in `instrument'","actionpack (7.0.8.4) lib/action_controller/metal/instrumentation.rb:66:in `process_action'","actionpack (7.0.8.4) lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","activerecord (7.0.8.4) lib/active_record/railties/controller_runtime.rb:27:in `process_action'","actionpack (7.0.8.4) lib/abstract_controller/base.rb:151:in `process'","actionview (7.0.8.4) lib/action_view/rendering.rb:39:in `process'","actionpack (7.0.8.4) lib/action_controller/metal.rb:188:in `dispatch'","actionpack (7.0.8.4) lib/action_controller/metal.rb:251:in `dispatch'","actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'","actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:32:in `serve'","actionpack (7.0.8.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'","actionpack (7.0.8.4) lib/action_dispatch/journey/router.rb:32:in `each'","actionpack (7.0.8.4) lib/action_dispatch/journey/router.rb:32:in `serve'","actionpack (7.0.8.4) lib/action_dispatch/routing/route_set.rb:852:in `call'","gitlab-experiment (0.9.1) lib/gitlab/experiment/middleware.rb:19:in `call'","flipper (0.26.2) lib/flipper/middleware/memoizer.rb:72:in `memoized_call'","flipper (0.26.2) lib/flipper/middleware/memoizer.rb:37:in `call'","lib/gitlab/metrics/elasticsearch_rack_middleware.rb:16:in `call'","lib/gitlab/middleware/sidekiq_shard_awareness_validation.rb:20:in `block in call'","lib/gitlab/sidekiq_sharding/validator.rb:42:in `enabled'","lib/gitlab/middleware/sidekiq_shard_awareness_validation.rb:20:in `call'","lib/gitlab/middleware/memory_report.rb:13:in `call'","lib/gitlab/middleware/speedscope.rb:13:in `call'","lib/gitlab/database/load_balancing/rack_middleware.rb:23:in `call'","lib/gitlab/middleware/rails_queue_duration.rb:33:in `call'","lib/gitlab/etag_caching/middleware.rb:21:in `call'","lib/gitlab/metrics/rack_middleware.rb:16:in `block in call'","lib/gitlab/metrics/web_transaction.rb:46:in `run'","lib/gitlab/metrics/rack_middleware.rb:16:in `call'","lib/gitlab/middleware/go.rb:24:in `call'","lib/gitlab/middleware/query_analyzer.rb:11:in `block in call'","lib/gitlab/database/query_analyzer.rb:40:in `within'","lib/gitlab/middleware/query_analyzer.rb:11:in `call'","batch-loader (2.0.5) lib/batch_loader/middleware.rb:11:in `call'","rack-attack (6.7.0) lib/rack/attack.rb:103:in `call'","apollo_upload_server (2.1.6) lib/apollo_upload_server/middleware.rb:32:in `call'","lib/gitlab/middleware/multipart.rb:178:in `block in call'","lib/gitlab/middleware/multipart.rb:63:in `with_open_files'","lib/gitlab/middleware/multipart.rb:177:in `call'","rack-attack (6.7.0) lib/rack/attack.rb:127:in `call'","warden (1.2.9) lib/warden/manager.rb:36:in `block in call'","warden (1.2.9) lib/warden/manager.rb:34:in `catch'","warden (1.2.9) lib/warden/manager.rb:34:in `call'","rack-cors (2.0.2) lib/rack/cors.rb:102:in `call'","rack (2.2.9) lib/rack/tempfile_reaper.rb:15:in `call'","rack (2.2.9) lib/rack/etag.rb:27:in `call'","rack (2.2.9) lib/rack/conditional_get.rb:40:in `call'","rack (2.2.9) lib/rack/head.rb:12:in `call'","actionpack (7.0.8.4) lib/action_dispatch/http/permissions_policy.rb:38:in `call'","actionpack (7.0.8.4) lib/action_dispatch/http/content_security_policy.rb:36:in `call'","lib/gitlab/middleware/read_only/controller.rb:50:in `call'","lib/gitlab/middleware/read_only.rb:18:in `call'","lib/gitlab/middleware/unauthenticated_session_expiry.rb:18:in `call'","rack (2.2.9) lib/rack/session/abstract/id.rb:266:in `context'","rack (2.2.9) lib/rack/session/abstract/id.rb:260:in `call'","actionpack (7.0.8.4) lib/action_dispatch/middleware/cookies.rb:704:in `call'","lib/gitlab/middleware/same_site_cookies.rb:27:in `call'","actionpack (7.0.8.4) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'","activesupport (7.0.8.4) lib/active_support/callbacks.rb:99:in `run_callbacks'","actionpack (7.0.8.4) lib/action_dispatch/middleware/callbacks.rb:26:in `call'","sentry-rails (5.18.2) lib/sentry/rails/rescued_exception_interceptor.rb:12:in `call'","actionpack (7.0.8.4) lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call'","lib/gitlab/middleware/path_traversal_check.rb:27:in `call'","lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call'","sentry-ruby (5.18.2) lib/sentry/rack/capture_exceptions.rb:30:in `block (2 levels) in call'","sentry-ruby (5.18.2) lib/sentry/hub.rb:258:in `with_session_tracking'","sentry-ruby (5.18.2) lib/sentry-ruby.rb:404:in `with_session_tracking'","sentry-ruby (5.18.2) lib/sentry/rack/capture_exceptions.rb:21:in `block in call'","sentry-ruby (5.18.2) lib/sentry/hub.rb:59:in `with_scope'","sentry-ruby (5.18.2) lib/sentry-ruby.rb:384:in `with_scope'","sentry-ruby (5.18.2) lib/sentry/rack/capture_exceptions.rb:20:in `call'","actionpack (7.0.8.4) lib/action_dispatch/middleware/show_exceptions.rb:29:in `call'","lib/gitlab/middleware/basic_health_check.rb:25:in `call'","lograge (0.11.2) lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'","railties (7.0.8.4) lib/rails/rack/logger.rb:25:in `block in call'","activesupport (7.0.8.4) lib/active_support/tagged_logging.rb:99:in `block in tagged'","activesupport (7.0.8.4) lib/active_support/tagged_logging.rb:37:in `tagged'","activesupport (7.0.8.4) lib/active_support/tagged_logging.rb:99:in `tagged'","railties (7.0.8.4) lib/rails/rack/logger.rb:25:in `call'","actionpack (7.0.8.4) lib/action_dispatch/middleware/remote_ip.rb:93:in `call'","lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call'","lib/gitlab/middleware/request_context.rb:15:in `call'","lib/gitlab/middleware/webhook_recursion_detection.rb:15:in `call'","request_store (1.5.1) lib/request_store/middleware.rb:19:in `call'","rack (2.2.9) lib/rack/method_override.rb:24:in `call'","rack (2.2.9) lib/rack/runtime.rb:22:in `call'","rack-timeout (0.7.0) lib/rack/timeout/core.rb:154:in `block in call'","rack-timeout (0.7.0) lib/rack/timeout/support/timeout.rb:19:in `timeout'","rack-timeout (0.7.0) lib/rack/timeout/core.rb:153:in `call'","config/initializers/fix_local_cache_middleware.rb:11:in `call'","lib/gitlab/middleware/compressed_json.rb:44:in `call'","actionpack (7.0.8.4) lib/action_dispatch/middleware/executor.rb:14:in `call'","lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call'","rack (2.2.9) lib/rack/sendfile.rb:110:in `call'","lib/gitlab/middleware/sidekiq_web_static.rb:20:in `call'","lib/gitlab/metrics/requests_rack_middleware.rb:79:in `call'","gitlab-labkit (0.36.1) lib/labkit/middleware/rack.rb:22:in `block in call'","gitlab-labkit (0.36.1) lib/labkit/context.rb:35:in `with_context'","gitlab-labkit (0.36.1) lib/labkit/middleware/rack.rb:21:in `call'","actionpack (7.0.8.4) lib/action_dispatch/middleware/request_id.rb:26:in `call'","actionpack (7.0.8.4) lib/action_dispatch/middleware/host_authorization.rb:131:in `call'","railties (7.0.8.4) lib/rails/engine.rb:530:in `call'","railties (7.0.8.4) lib/rails/railtie.rb:226:in `public_send'","railties (7.0.8.4) lib/rails/railtie.rb:226:in `method_missing'","lib/gitlab/middleware/release_env.rb:13:in `call'","rack (2.2.9) lib/rack/urlmap.rb:74:in `block in call'","rack (2.2.9) lib/rack/urlmap.rb:58:in `each'","rack (2.2.9) lib/rack/urlmap.rb:58:in `call'","puma (6.4.0) lib/puma/configuration.rb:272:in `call'","puma (6.4.0) lib/puma/request.rb:100:in `block in handle_request'","puma (6.4.0) lib/puma/thread_pool.rb:378:in `with_force_shutdown'","puma (6.4.0) lib/puma/request.rb:99:in `handle_request'","puma (6.4.0) lib/puma/server.rb:443:in `process_client'","puma (6.4.0) lib/puma/server.rb:241:in `block in run'","puma (6.4.0) lib/puma/thread_pool.rb:155:in `block in spawn_thread'"],"db_duration_s":0.00076,"view_duration_s":0.0,"duration_s":0.0252}
/var/log/gitlab/gitlab-workhorse/current:{"client_mode":"local_tempfile","copied_bytes":2256,"correlation_id":"01J7FR2VAX3YPYKK3TG29GD97M","filename":"32.png","is_local":true,"is_multipart":false,"is_remote":false,"level":"info","local_temp_path":"/opt/gitlab/embedded/service/gitlab-rails/public/uploads/tmp","msg":"saved file","remote_id":"","time":"2024-09-11T05:14:47Z"}
/var/log/gitlab/gitlab-workhorse/current:{"backend_id":"rails","content_type":"text/html; charset=utf-8","correlation_id":"01J7FR2VAX3YPYKK3TG29GD97M","duration_ms":80,"host":"192.168.0.112","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"http://192.168.0.112/admin/application_settings/appearance","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"","route_id":"default","status":500,"system":"http","time":"2024-09-11T05:14:47Z","ttfb_ms":79,"uri":"/admin/application_settings/appearance","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","written_bytes":1624}
回复

使用道具 举报

LiuTC楼主Lv.1 发表于 2024-9-11 13:18:04 | 显示全部楼层

私发没权限 直接回复了
回复

使用道具 举报

zookeeperLv.7 发表于 2024-9-13 14:32:16 | 显示全部楼层
因为这个引起的:/opt/gitlab/embedded/service/gitlab-rails/public/uploads/-/system/tmp/work/1726031687-2259-0006-7622/32.png
看报错可能原因有目录不存在,或者目录权限异常,磁盘空间不够,可以先检查一下这个目录和文件是不是存在
回复

使用道具 举报

LiuTC楼主Lv.1 发表于 2024-11-11 09:14:30 | 显示全部楼层
zookeeper 发表于 2024-9-13 14:32
因为这个引起的:/opt/gitlab/embedded/service/gitlab-rails/public/uploads/-/system/tmp/work/172603168 ...

使用docker部署的,里面有这个目录
回复

使用道具 举报

意见建议

Email:forum@gitlab.cn
  • 关注公众号
  • 添加专业顾问
Copyright © 2001-2024 极狐GitLab论坛 版权所有 All Rights Reserved. 鄂ICP备2021008419号-1|鄂公网安备42018502006137号
关灯 快速发帖
扫一扫添加专业顾问
返回顶部
快速回复 返回顶部 返回列表