{"id":1366,"date":"2023-03-19T10:23:56","date_gmt":"2023-03-19T02:23:56","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1366"},"modified":"2023-04-28T21:17:28","modified_gmt":"2023-04-28T13:17:28","slug":"gitlab-opens-project-and-reports-404-for-resolution","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/19\/gitlab-opens-project-and-reports-404-for-resolution\/","title":{"rendered":"Gitlab\u6253\u5f00Project\u62a5404\u89e3\u51b3"},"content":{"rendered":"<h3>\u95ee\u9898\u63cf\u8ff0<\/h3>\n<p>\u4f7f\u7528\u62e5\u6709\u8005\u8d26\u53f7\u6253\u5f00Project<\/p>\n<pre><code>404 The page could not be found or you don&#039;t have permission to view it.<\/code><\/pre>\n<p><!-- more --><\/p>\n<p>\u4f7f\u7528root\u8d26\u53f7\u6253\u5f00Project<\/p>\n<pre><code>Started GET &quot;\/Android\/ContactsSync\/edit&quot; for 115.238.84.211 at 2018-06-13 13:29:02 +0800\nProcessing by ProjectsController#edit as HTML\n  Parameters: {&quot;namespace_id&quot;=&gt;&quot;Android&quot;, &quot;id&quot;=&gt;&quot;ContactsSync&quot;}\nCompleted 500 Internal Server Error in 258ms (ActiveRecord: 11.5ms)\n\nActionView::Template::Error (No route matches {:action=&gt;&quot;show&quot;, :controller=&gt;&quot;projects\/find_file&quot;, :id=&gt;nil, :namespace_id=&gt;#&lt;Group id:3 @Android&gt;, :project_id=&gt;#&lt;Project id:1 Android\/ContactsSync&gt;} missing required keys: [:id]):\n    1: !!! 5\n    2: %html{ lang: I18n.locale, class: page_class }\n    3:   = render &quot;layouts\/head&quot;\n    4:   %body{ class: &quot;#{user_application_theme} #{@body_class}&quot;, data: { page: body_data_page, project: &quot;#{@project.path if @project}&quot;, group: &quot;#{@group.path if @group}&quot;, find_file: find_file_path } }\n    5:     = render &quot;layouts\/init_auto_complete&quot; if @gfm_form\n    6:     = render &#039;peek\/bar&#039;\n    7:     = render &quot;layouts\/header\/default&quot;\n  config\/application.rb:194:in `block (4 levels) in &lt;class:Application&gt;&#039;\n  app\/helpers\/projects_helper.rb:478:in `find_file_path&#039;\n  app\/views\/layouts\/application.html.haml:4:in `_app_views_layouts_application_html_haml___4539331734934816470_47343684667880&#039;\n  app\/views\/layouts\/project.html.haml:14:in `_app_views_layouts_project_html_haml__3304991172716465960_47343690913300&#039;\n  app\/views\/layouts\/project_settings.html.haml:4:in `_app_views_layouts_project_settings_html_haml___2717813663302795480_47343563703380&#039;\n  app\/controllers\/projects_controller.rb:34:in `edit&#039;\n  lib\/gitlab\/i18n.rb:50:in `with_locale&#039;\n  lib\/gitlab\/i18n.rb:56:in `with_user_locale&#039;\n  app\/controllers\/application_controller.rb:360:in `set_locale&#039;\n  lib\/gitlab\/middleware\/multipart.rb:95:in `call&#039;\n  lib\/gitlab\/request_profiler\/middleware.rb:14:in `call&#039;\n  lib\/gitlab\/middleware\/go.rb:17:in `call&#039;\n  lib\/gitlab\/etag_caching\/middleware.rb:11:in `call&#039;\n  lib\/gitlab\/middleware\/read_only\/controller.rb:28:in `call&#039;\n  lib\/gitlab\/middleware\/read_only.rb:16:in `call&#039;\n  lib\/gitlab\/request_context.rb:18:in `call&#039;\n  lib\/gitlab\/metrics\/requests_rack_middleware.rb:27:in `call&#039;\n  lib\/gitlab\/middleware\/release_env.rb:10:in `call&#039;<\/code><\/pre>\n<h3>\u89e3\u51b3\u65b9\u6cd5<\/h3>\n<p>\u89e3\u51b3\uff1a\u6e05\u7f13\u5b58<\/p>\n<pre><code># sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\u63cf\u8ff0 \u4f7f\u7528\u62e5\u6709\u8005\u8d26\u53f7\u6253\u5f00Project 404 The page could not be found o [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[230],"tags":[],"class_list":["post-1366","post","type-post","status-publish","format-standard","hentry","category-gitlab"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1366"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1366\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}