sinzmise-cetastories 2.0.0-1730025433767 → 2.0.0-1730031141130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/404/index.html +1 -1
  2. package/about/index.html +1 -1
  3. package/album/index.html +1 -1
  4. package/archives/2021/12/index.html +1 -1
  5. package/archives/2021/index.html +1 -1
  6. package/archives/2022/12/index.html +1 -1
  7. package/archives/2022/index.html +1 -1
  8. package/archives/2023/01/index.html +1 -1
  9. package/archives/2023/02/index.html +1 -1
  10. package/archives/2023/03/index.html +1 -1
  11. package/archives/2023/04/index.html +1 -1
  12. package/archives/2023/07/index.html +1 -1
  13. package/archives/2023/08/index.html +1 -1
  14. package/archives/2023/09/index.html +1 -1
  15. package/archives/2023/10/index.html +1 -1
  16. package/archives/2023/11/index.html +1 -1
  17. package/archives/2023/12/index.html +1 -1
  18. package/archives/2023/index.html +1 -1
  19. package/archives/2023/page/2/index.html +1 -1
  20. package/archives/2023/page/3/index.html +1 -1
  21. package/archives/2024/01/index.html +1 -1
  22. package/archives/2024/02/index.html +1 -1
  23. package/archives/2024/03/index.html +1 -1
  24. package/archives/2024/04/index.html +1 -1
  25. package/archives/2024/05/index.html +1 -1
  26. package/archives/2024/06/index.html +1 -1
  27. package/archives/2024/07/index.html +1 -1
  28. package/archives/2024/08/index.html +1 -1
  29. package/archives/2024/09/index.html +1 -1
  30. package/archives/2024/10/index.html +1 -1
  31. package/archives/2024/index.html +1 -1
  32. package/archives/2024/page/2/index.html +1 -1
  33. package/archives/index.html +1 -1
  34. package/archives/page/2/index.html +1 -1
  35. package/archives/page/3/index.html +1 -1
  36. package/archives/page/4/index.html +1 -1
  37. package/archives/page/5/index.html +1 -1
  38. package/atom.xml +31 -31
  39. package/bbs/bbs.html +1 -1
  40. package/bbs/index.html +1 -1
  41. package/categories/index.html +1 -1
  42. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  43. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  44. package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  45. package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  46. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  47. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  48. package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  49. package/charts/index.html +1 -1
  50. package/comments/index.html +1 -1
  51. package/essay/index.html +1 -1
  52. package/fcircle/index.html +1 -1
  53. package/friend.json +1 -0
  54. package/games +2 -2
  55. package/index.html +1 -1
  56. package/link/index.html +1 -1
  57. package/music/index.html +1 -1
  58. package/package.json +1 -1
  59. package/page/2/index.html +1 -1
  60. package/page/3/index.html +1 -1
  61. package/page/4/index.html +1 -1
  62. package/page/5/index.html +1 -1
  63. package/posts/10021/index.html +2 -2
  64. package/posts/10045/index.html +1 -1
  65. package/posts/10733/index.html +1 -1
  66. package/posts/10996/index.html +2 -2
  67. package/posts/12779/index.html +1 -1
  68. package/posts/13624/index.html +1 -1
  69. package/posts/15688/index.html +1 -1
  70. package/posts/15748/index.html +2 -2
  71. package/posts/15799/index.html +1 -1
  72. package/posts/15842/index.html +2 -2
  73. package/posts/16107/index.html +1 -1
  74. package/posts/18063/index.html +1 -1
  75. package/posts/20412/index.html +1 -1
  76. package/posts/21375/index.html +1 -1
  77. package/posts/22945/index.html +2 -2
  78. package/posts/23021/index.html +1 -1
  79. package/posts/27531/index.html +2 -2
  80. package/posts/28536/index.html +1 -1
  81. package/posts/28733/index.html +1 -1
  82. package/posts/29196/index.html +1 -1
  83. package/posts/38917/index.html +1 -1
  84. package/posts/38964/index.html +1 -1
  85. package/posts/42487/index.html +1 -1
  86. package/posts/42580/index.html +1 -1
  87. package/posts/45875/index.html +1 -1
  88. package/posts/46640/index.html +1 -1
  89. package/posts/48762/index.html +1 -1
  90. package/posts/50710/index.html +1 -1
  91. package/posts/52677/index.html +1 -1
  92. package/posts/53662/index.html +1 -1
  93. package/posts/54386/index.html +1 -1
  94. package/posts/54481/index.html +1 -1
  95. package/posts/54787/index.html +2 -2
  96. package/posts/56467/index.html +1 -1
  97. package/posts/57692/index.html +1 -1
  98. package/posts/58203/index.html +1 -1
  99. package/posts/61417/index.html +1 -1
  100. package/posts/61712/index.html +1 -1
  101. package/posts/646/index.html +1 -1
  102. package/posts/64856/index.html +1 -1
  103. package/posts/64935/index.html +1 -1
  104. package/search.xml +66 -66
  105. package/seas/index.html +1 -1
  106. package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
  107. package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
  108. package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
  109. package/tags/index.html +1 -1
  110. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  111. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  112. package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
  113. package/tags//345/212/240/350/275/275/345/212/250/347/224/273/index.html +1 -1
  114. package/tags//346/202/254/346/265/256/345/256/240/347/211/251-/347/234/213/346/235/277/345/250/230/index.html +1 -1
  115. package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  116. package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  117. package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
  118. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  119. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  120. package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
  121. package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
  122. package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  123. package/update/index.html +1 -1
package/search.xml CHANGED
@@ -345,6 +345,72 @@ function loadkaixinmusic() {
345
345
  <tag>Flash相关</tag>
346
346
  </tags>
347
347
  </entry>
348
+ <entry>
349
+ <title>Vercel部署Umami</title>
350
+ <url>/posts/28733/</url>
351
+ <content><![CDATA[<p>之前我是想参考这个教程来部署:<a href="https://digu.plus/post/8034746f42b3495fbb19926e3fb8ec4f/">https://digu.plus/post/8034746f42b3495fbb19926e3fb8ec4f/</a><br>然而部署过程中翻了车<br>这个教程新版教程(顺便总结一下我翻的车)<br><span id="more"></span></p>
352
+ <h1 id="数据库选择"><a href="#数据库选择" class="headerlink" title="数据库选择"></a>数据库选择</h1><p>Umami支持MySQL和PostgreSQL数据库,选择自己喜欢的数据库进行数据初始化即可。下面是几个免费的数据库服务,这里选择的是ElephantSQL,当然,并不限于这些。<br>目前www.jsdelivr.ren免费数据库如下:</p>
353
+ <ul>
354
+ <li>MySQL:<a href="https://freedb.tech/">FREEDB.TECH</a>、<a href="https://www.db4free.net/">db4free</a>、<a href="https://sqlpub.com/">SQLPub</a></li>
355
+ <li>PostgreSQL:<a href="https://www.elephantsql.com/">ElephantSQL</a>、<a href="https://supabase.com/">Supabase</a></li>
356
+ </ul>
357
+ <h1 id="数据库部署"><a href="#数据库部署" class="headerlink" title="数据库部署"></a>数据库部署</h1><div class="note warning"><p>目前已知Supabase部署失败原因:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/msedge_DL0IGBX6O1.2876ewjv3lz4.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/msedge_DL0IGBX6O1.2876ewjv3lz4.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_DL0IGBX6O1"></p></div>
358
+ <div class="tabs" id="tab-数据库部署"><ul class="nav-tabs"><li class="tab active"><a class="#数据库部署-1">MySQL</a></li><li class="tab"><a class="#数据库部署-2">PostgreSQL</a></li></ul><div class="tab-content"><div class="tab-pane active" id="数据库部署-1"><div class="tabs" id="tab-mysql数据库"><ul class="nav-tabs"><li class="tab active"><a class="#mysql数据库-1">FREEDB.TECH</a></li><li class="tab"><a class="#mysql数据库-2">db4free(不推荐,官网访问较慢)</a></li><li class="tab"><a class="#mysql数据库-3">SQLPub(推荐)</a></li></ul><div class="tab-content"><div class="tab-pane active" id="mysql数据库-1"><p>打开<a href="https://freedb.tech/">FREEDB.TECH</a>,注册登录,创建数据库和用户</p>
359
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_gi9vdCGiIt.48n3g4pzzvw0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_gi9vdCGiIt.48n3g4pzzvw0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_gi9vdCGiIt"></p>
360
+ <p>得到你的数据库和密码:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_fGVbS9POH4.409i0oz7v9k0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_fGVbS9POH4.409i0oz7v9k0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_fGVbS9POH4"></p>
361
+ <p>组合一下:<br><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">mysql://(DATABASE USER):(PASSWORD)@(HOST):(PORT)/(DATABASE NAME)</span><br></pre></td></tr></table></figure></p></div><div class="tab-pane" id="mysql数据库-2"><div class="note warning"><p>这个数据库疑似国人开办,建议用国内邮箱收验证码,国外的基本收不到<br>(转自:<a href="https://www.freeaday.com/2023/01/db4free/">https://www.freeaday.com/2023/01/db4free/</a> 的一条评论)</p></div>
362
+
363
+ <p><p>打开<a href="https://www.db4free.net/">db4free</a>,点击“注册免费账号”,输入信息然后点击“注册”,一会后你会收到如下邮件:</p></p>
364
+ <p><p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/网易灵犀办公_JmFVOuOEIc.30smaneqwfa0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/网易灵犀办公_JmFVOuOEIc.30smaneqwfa0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="网易灵犀办公_JmFVOuOEIc"></p></p>
365
+ <p><p>访问邮件提供的确认网址,数据库就创建成功了</p></p>
366
+ <p><p>然后将你设置的信息替换掉下面括号里的内容(注意:括号得去掉):<br><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">mysql://(你设置的数据库用户名):(你设置的数据库密码)@db4free.net:3306/(你设置的数据库名)</span><br></pre></td></tr></table></figure></p>&lt;/div&gt;<div class="tab-pane" id="mysql数据库-3"><p>访问<a href="https://sqlpub.com/">SQLPub</a>,输入账号密码,点击申请,申请成功后会有如下提示<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_8FyIBEs6Ja.14toupglasps.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_8FyIBEs6Ja.14toupglasps.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_8FyIBEs6Ja"><br>然后将里面的替换掉下面括号里的内容(注意:括号得去掉):<br><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">mysql://(数据库用户):(数据库密码)@(数据库地址)/(数据库名称)</span><br></pre></td></tr></table></figure></p></div>&lt;/div&gt;&lt;/div&gt;</p></div><div class="tab-pane" id="数据库部署-2"><div class="tabs" id="tab-postgresql"><ul class="nav-tabs"><li class="tab active"><a class="#postgresql-1">Supabase(推荐)</a></li><li class="tab"><a class="#postgresql-2">ElephantSQL</a></li></ul><div class="tab-content"><div class="tab-pane active" id="postgresql-1"><p>打开<a href="https://supabase.com/">Supabase</a>,推荐使用Github登录。登陆成功后,创建一个新的项目New project-&gt;personal。</p>
367
+ <ul>
368
+ <li>Name:随意</li>
369
+ <li>Database Password:建议点击Generate a password生成</li>
370
+ <li>Region:建议选择US,因为Vercel的免费服务器在漂亮国</li>
371
+ <li>Pricing Plan:Free白嫖</li>
372
+ </ul>
373
+ <p>创建成功后,打开菜单Project Setting -&gt; Database -&gt; Connection string -&gt; URI,如下图:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.3jutc7fp3fc0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.3jutc7fp3fc0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="image"><br>将红框内的内容复制下来,然后把<code>[YOUR-PASSWORD]</code>替换成你生成的密码,复制备用</p></div><div class="tab-pane" id="postgresql-2"><p>打开ElephantSQL,推荐使用Github登录,创建一个新的实例。Plan选择Tiny Turtle(Free)、Region随意,提交创建。<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_ELQQZsgMsH.68dwkz5in1w0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_ELQQZsgMsH.68dwkz5in1w0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_ELQQZsgMsH"><br>打开刚刚创建的示例,找到URL,点击眼睛图标,然后将URL复制下来备用</p></div></div></div></div></div></div>
374
+ <h1 id="Vercel部署"><a href="#Vercel部署" class="headerlink" title="Vercel部署"></a>Vercel部署</h1><p><a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmikecao%2Fumami&amp;env=DATABASE_URL,HASH_SALT,TRACKER_SCRIPT_NAME&amp;envDescription=These%20values%20are%20defined%20in%20the%20configure%20Umami%20step%20from%20Install&amp;envLink=https%3A%2F%2Fumami.is%2Fdocs%2Finstall&amp;project-name=umami&amp;repo-name=umami"><img src="https://vercel.com/button" class="lazyload" data-srcset="https://vercel.com/button" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="部署到Vercel"></a></p>
375
+ <ol>
376
+ <li>点击上方按钮,跳转至 Vercel 进行 Server 端部署</li>
377
+ <li><div class="note info"><p>如果你未登录的话,Vercel 会让你注册或登录,请使用 GitHub 账户进行快捷登录。</p></div>
378
+ </li>
379
+ <li><p>输入一个你喜欢的 Vercel 项目名称并点击 Create 继续:</p>
380
+ </li>
381
+ </ol>
382
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_EtpjrPwPlG.4zkys81bppo0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_EtpjrPwPlG.4zkys81bppo0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_EtpjrPwPlG"></p>
383
+ <ol>
384
+ <li>配置环境变量</li>
385
+ </ol>
386
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_EtpjrPwPlG.4zkys81bppo0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_EtpjrPwPlG.4zkys81bppo0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_EtpjrPwPlG"><br>部署完成后,会跳转到环境变量部分,请按照如下方式配置环境变量:<br>| 名称 | 说明 |<br>| —————- | —————- |<br>|DATABASE_URL|(必填)数据库链接|<br>|HASH_SALT|(必填)任意字符串,推荐<a href="https://uuid.bmcx.com/">这里</a>生成一串UUID|<br>|TRACKER_SCRIPT_NAME|(建议)任意字符串,推荐<a href="https://uuid.bmcx.com/">这里</a>生成一串UUID(不填会导致去广告插件把这段脚本给拦截)|</p>
387
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_3VF46Qh4uk.6ebntqavbmw.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_3VF46Qh4uk.6ebntqavbmw.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_3VF46Qh4uk"></p>
388
+ <p>配置完成后点击Deploy开始部署,部署过程大概两分钟,部署成功后会有一个彩纸的喜庆页面。</p>
389
+ <h1 id="绑定域名"><a href="#绑定域名" class="headerlink" title="绑定域名"></a>绑定域名</h1><p>点击Go to Dashboard,进入Settings——&gt;Domains绑定域名</p>
390
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.6kbvzv14uic.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.6kbvzv14uic.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="image"></p>
391
+ <p>你绑定的域名就是umami的后台网址</p>
392
+ <h1 id="配置后台"><a href="#配置后台" class="headerlink" title="配置后台"></a>配置后台</h1><p>点击你绑定的域名,进入Umami后台登录(默认用户名admin和密码umami)进入后第一时间修改密码。</p>
393
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_V6f3L8vvos.3pvc55z6eqw0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_V6f3L8vvos.3pvc55z6eqw0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_V6f3L8vvos"></p>
394
+ <h1 id="添加站点-amp-获取代码"><a href="#添加站点-amp-获取代码" class="headerlink" title="添加站点 &amp; 获取代码"></a>添加站点 &amp; 获取代码</h1><p>“网站”—-&gt;“添加网站”添加你自己的网站</p>
395
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.x9jagr7mvxc.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.x9jagr7mvxc.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="image"></p>
396
+ <p>保存后点击“编辑”—-&gt;“跟踪代码”,将获取到的代码放进你的站点</p>
397
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_trQnJ47k75.20wh55o85wkg.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_trQnJ47k75.20wh55o85wkg.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_trQnJ47k75"></p>
398
+ <p>不久后就能看到你的站点数据了</p>
399
+ <h1 id="问题"><a href="#问题" class="headerlink" title="问题"></a>问题</h1><ul>
400
+ <li>Umami无法登录,提示“Failed to load resource: the server responded with a status of 405”<br>等待几分钟后登录重试</li>
401
+ <li>使用Supabase数据库时,Vercel提示这个错误:</li>
402
+ </ul>
403
+ <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_D1X7RIZpUD.5wxtzukahdo0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_D1X7RIZpUD.5wxtzukahdo0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_D1X7RIZpUD"></p>
404
+ <p>建议重新新建数据库,还不行的话更换别的数据库</p>
405
+ ]]></content>
406
+ <categories>
407
+ <category>站点折腾</category>
408
+ </categories>
409
+ <tags>
410
+ <tag>站点折腾</tag>
411
+ <tag>自建部署</tag>
412
+ </tags>
413
+ </entry>
348
414
  <entry>
349
415
  <title>Serv00搭建Artalk</title>
350
416
  <url>/posts/13624/</url>
@@ -423,72 +489,6 @@ function loadkaixinmusic() {
423
489
  <tag>自建部署</tag>
424
490
  </tags>
425
491
  </entry>
426
- <entry>
427
- <title>Vercel部署Umami</title>
428
- <url>/posts/28733/</url>
429
- <content><![CDATA[<p>之前我是想参考这个教程来部署:<a href="https://digu.plus/post/8034746f42b3495fbb19926e3fb8ec4f/">https://digu.plus/post/8034746f42b3495fbb19926e3fb8ec4f/</a><br>然而部署过程中翻了车<br>这个教程新版教程(顺便总结一下我翻的车)<br><span id="more"></span></p>
430
- <h1 id="数据库选择"><a href="#数据库选择" class="headerlink" title="数据库选择"></a>数据库选择</h1><p>Umami支持MySQL和PostgreSQL数据库,选择自己喜欢的数据库进行数据初始化即可。下面是几个免费的数据库服务,这里选择的是ElephantSQL,当然,并不限于这些。<br>目前www.jsdelivr.ren免费数据库如下:</p>
431
- <ul>
432
- <li>MySQL:<a href="https://freedb.tech/">FREEDB.TECH</a>、<a href="https://www.db4free.net/">db4free</a>、<a href="https://sqlpub.com/">SQLPub</a></li>
433
- <li>PostgreSQL:<a href="https://www.elephantsql.com/">ElephantSQL</a>、<a href="https://supabase.com/">Supabase</a></li>
434
- </ul>
435
- <h1 id="数据库部署"><a href="#数据库部署" class="headerlink" title="数据库部署"></a>数据库部署</h1><div class="note warning"><p>目前已知Supabase部署失败原因:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/msedge_DL0IGBX6O1.2876ewjv3lz4.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230716/msedge_DL0IGBX6O1.2876ewjv3lz4.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_DL0IGBX6O1"></p></div>
436
- <div class="tabs" id="tab-数据库部署"><ul class="nav-tabs"><li class="tab active"><a class="#数据库部署-1">MySQL</a></li><li class="tab"><a class="#数据库部署-2">PostgreSQL</a></li></ul><div class="tab-content"><div class="tab-pane active" id="数据库部署-1"><div class="tabs" id="tab-mysql数据库"><ul class="nav-tabs"><li class="tab active"><a class="#mysql数据库-1">FREEDB.TECH</a></li><li class="tab"><a class="#mysql数据库-2">db4free(不推荐,官网访问较慢)</a></li><li class="tab"><a class="#mysql数据库-3">SQLPub(推荐)</a></li></ul><div class="tab-content"><div class="tab-pane active" id="mysql数据库-1"><p>打开<a href="https://freedb.tech/">FREEDB.TECH</a>,注册登录,创建数据库和用户</p>
437
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_gi9vdCGiIt.48n3g4pzzvw0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_gi9vdCGiIt.48n3g4pzzvw0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_gi9vdCGiIt"></p>
438
- <p>得到你的数据库和密码:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_fGVbS9POH4.409i0oz7v9k0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_fGVbS9POH4.409i0oz7v9k0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_fGVbS9POH4"></p>
439
- <p>组合一下:<br><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">mysql://(DATABASE USER):(PASSWORD)@(HOST):(PORT)/(DATABASE NAME)</span><br></pre></td></tr></table></figure></p></div><div class="tab-pane" id="mysql数据库-2"><div class="note warning"><p>这个数据库疑似国人开办,建议用国内邮箱收验证码,国外的基本收不到<br>(转自:<a href="https://www.freeaday.com/2023/01/db4free/">https://www.freeaday.com/2023/01/db4free/</a> 的一条评论)</p></div>
440
-
441
- <p><p>打开<a href="https://www.db4free.net/">db4free</a>,点击“注册免费账号”,输入信息然后点击“注册”,一会后你会收到如下邮件:</p></p>
442
- <p><p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/网易灵犀办公_JmFVOuOEIc.30smaneqwfa0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/网易灵犀办公_JmFVOuOEIc.30smaneqwfa0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="网易灵犀办公_JmFVOuOEIc"></p></p>
443
- <p><p>访问邮件提供的确认网址,数据库就创建成功了</p></p>
444
- <p><p>然后将你设置的信息替换掉下面括号里的内容(注意:括号得去掉):<br><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">mysql://(你设置的数据库用户名):(你设置的数据库密码)@db4free.net:3306/(你设置的数据库名)</span><br></pre></td></tr></table></figure></p>&lt;/div&gt;<div class="tab-pane" id="mysql数据库-3"><p>访问<a href="https://sqlpub.com/">SQLPub</a>,输入账号密码,点击申请,申请成功后会有如下提示<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_8FyIBEs6Ja.14toupglasps.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_8FyIBEs6Ja.14toupglasps.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_8FyIBEs6Ja"><br>然后将里面的替换掉下面括号里的内容(注意:括号得去掉):<br><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">mysql://(数据库用户):(数据库密码)@(数据库地址)/(数据库名称)</span><br></pre></td></tr></table></figure></p></div>&lt;/div&gt;&lt;/div&gt;</p></div><div class="tab-pane" id="数据库部署-2"><div class="tabs" id="tab-postgresql"><ul class="nav-tabs"><li class="tab active"><a class="#postgresql-1">Supabase(推荐)</a></li><li class="tab"><a class="#postgresql-2">ElephantSQL</a></li></ul><div class="tab-content"><div class="tab-pane active" id="postgresql-1"><p>打开<a href="https://supabase.com/">Supabase</a>,推荐使用Github登录。登陆成功后,创建一个新的项目New project-&gt;personal。</p>
445
- <ul>
446
- <li>Name:随意</li>
447
- <li>Database Password:建议点击Generate a password生成</li>
448
- <li>Region:建议选择US,因为Vercel的免费服务器在漂亮国</li>
449
- <li>Pricing Plan:Free白嫖</li>
450
- </ul>
451
- <p>创建成功后,打开菜单Project Setting -&gt; Database -&gt; Connection string -&gt; URI,如下图:<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.3jutc7fp3fc0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.3jutc7fp3fc0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="image"><br>将红框内的内容复制下来,然后把<code>[YOUR-PASSWORD]</code>替换成你生成的密码,复制备用</p></div><div class="tab-pane" id="postgresql-2"><p>打开ElephantSQL,推荐使用Github登录,创建一个新的实例。Plan选择Tiny Turtle(Free)、Region随意,提交创建。<br><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_ELQQZsgMsH.68dwkz5in1w0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_ELQQZsgMsH.68dwkz5in1w0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_ELQQZsgMsH"><br>打开刚刚创建的示例,找到URL,点击眼睛图标,然后将URL复制下来备用</p></div></div></div></div></div></div>
452
- <h1 id="Vercel部署"><a href="#Vercel部署" class="headerlink" title="Vercel部署"></a>Vercel部署</h1><p><a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmikecao%2Fumami&amp;env=DATABASE_URL,HASH_SALT,TRACKER_SCRIPT_NAME&amp;envDescription=These%20values%20are%20defined%20in%20the%20configure%20Umami%20step%20from%20Install&amp;envLink=https%3A%2F%2Fumami.is%2Fdocs%2Finstall&amp;project-name=umami&amp;repo-name=umami"><img src="https://vercel.com/button" class="lazyload" data-srcset="https://vercel.com/button" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="部署到Vercel"></a></p>
453
- <ol>
454
- <li>点击上方按钮,跳转至 Vercel 进行 Server 端部署</li>
455
- <li><div class="note info"><p>如果你未登录的话,Vercel 会让你注册或登录,请使用 GitHub 账户进行快捷登录。</p></div>
456
- </li>
457
- <li><p>输入一个你喜欢的 Vercel 项目名称并点击 Create 继续:</p>
458
- </li>
459
- </ol>
460
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_EtpjrPwPlG.4zkys81bppo0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_EtpjrPwPlG.4zkys81bppo0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_EtpjrPwPlG"></p>
461
- <ol>
462
- <li>配置环境变量</li>
463
- </ol>
464
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_EtpjrPwPlG.4zkys81bppo0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_EtpjrPwPlG.4zkys81bppo0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_EtpjrPwPlG"><br>部署完成后,会跳转到环境变量部分,请按照如下方式配置环境变量:<br>| 名称 | 说明 |<br>| —————- | —————- |<br>|DATABASE_URL|(必填)数据库链接|<br>|HASH_SALT|(必填)任意字符串,推荐<a href="https://uuid.bmcx.com/">这里</a>生成一串UUID|<br>|TRACKER_SCRIPT_NAME|(建议)任意字符串,推荐<a href="https://uuid.bmcx.com/">这里</a>生成一串UUID(不填会导致去广告插件把这段脚本给拦截)|</p>
465
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_3VF46Qh4uk.6ebntqavbmw.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_3VF46Qh4uk.6ebntqavbmw.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_3VF46Qh4uk"></p>
466
- <p>配置完成后点击Deploy开始部署,部署过程大概两分钟,部署成功后会有一个彩纸的喜庆页面。</p>
467
- <h1 id="绑定域名"><a href="#绑定域名" class="headerlink" title="绑定域名"></a>绑定域名</h1><p>点击Go to Dashboard,进入Settings——&gt;Domains绑定域名</p>
468
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.6kbvzv14uic.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.6kbvzv14uic.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="image"></p>
469
- <p>你绑定的域名就是umami的后台网址</p>
470
- <h1 id="配置后台"><a href="#配置后台" class="headerlink" title="配置后台"></a>配置后台</h1><p>点击你绑定的域名,进入Umami后台登录(默认用户名admin和密码umami)进入后第一时间修改密码。</p>
471
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_V6f3L8vvos.3pvc55z6eqw0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_V6f3L8vvos.3pvc55z6eqw0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_V6f3L8vvos"></p>
472
- <h1 id="添加站点-amp-获取代码"><a href="#添加站点-amp-获取代码" class="headerlink" title="添加站点 &amp; 获取代码"></a>添加站点 &amp; 获取代码</h1><p>“网站”—-&gt;“添加网站”添加你自己的网站</p>
473
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.x9jagr7mvxc.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/image.x9jagr7mvxc.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="image"></p>
474
- <p>保存后点击“编辑”—-&gt;“跟踪代码”,将获取到的代码放进你的站点</p>
475
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_trQnJ47k75.20wh55o85wkg.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_trQnJ47k75.20wh55o85wkg.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_trQnJ47k75"></p>
476
- <p>不久后就能看到你的站点数据了</p>
477
- <h1 id="问题"><a href="#问题" class="headerlink" title="问题"></a>问题</h1><ul>
478
- <li>Umami无法登录,提示“Failed to load resource: the server responded with a status of 405”<br>等待几分钟后登录重试</li>
479
- <li>使用Supabase数据库时,Vercel提示这个错误:</li>
480
- </ul>
481
- <p><img src="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_D1X7RIZpUD.5wxtzukahdo0.webp" class="lazyload" data-srcset="https://jsd.cdn.storisinz.site/gh/SinzMise/picx-images-hosting@master/20230714/msedge_D1X7RIZpUD.5wxtzukahdo0.webp" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="msedge_D1X7RIZpUD"></p>
482
- <p>建议重新新建数据库,还不行的话更换别的数据库</p>
483
- ]]></content>
484
- <categories>
485
- <category>站点折腾</category>
486
- </categories>
487
- <tags>
488
- <tag>站点折腾</tag>
489
- <tag>自建部署</tag>
490
- </tags>
491
- </entry>
492
492
  <entry>
493
493
  <title>butterfly主题添加音乐页面(适配手机)</title>
494
494
  <url>/posts/22945/</url>