[I] [Question] 问题出在 PostgreSQL 数据库的初始化和结构迁移上 [hertzbeat]</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=notifications@hertzbeat.apache.org&q=from:%22via+GitHub%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">via GitHub</span></span></a></span> <span class="date"><a href="/search?l=notifications@hertzbeat.apache.org&q=date:20250907" rel="nofollow">Sun, 07 Sep 2025 19:27:51 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> donyaparanadavho13 opened a new issue, #3754: URL: <a rel="nofollow" href="https://github.com/apache/hertzbeat/issues/3754">https://github.com/apache/hertzbeat/issues/3754</a></pre><pre> ### Question postgres | 2025-09-08 02:22:46.658 UTC [36] ERROR: column "pluginmetadataid" named in key does not exist postgres | 2025-09-08 02:22:46.658 UTC [36] STATEMENT: ALTER TABLE hzb_plugin_param ADD CONSTRAINT UNQ_hzb_plugin_param_0 UNIQUE (pluginMetadataId, field) postgres | 2025-09-08 02:22:46.672 UTC [36] ERROR: relation "unq_hzb_collector_0" already exists postgres | 2025-09-08 02:22:46.672 UTC [36] STATEMENT: ALTER TABLE hzb_collector ADD CONSTRAINT UNQ_hzb_collector_0 UNIQUE (name) postgres | 2025-09-08 02:22:46.677 UTC [36] ERROR: column "monitorid" named in key does not exist postgres | 2025-09-08 02:22:46.677 UTC [36] STATEMENT: ALTER TABLE hzb_param ADD CONSTRAINT UNQ_hzb_param_0 UNIQUE (monitorId, field) postgres | 2025-09-08 02:22:46.681 UTC [36] ERROR: constraint "fk_hzb_plugin_item_metadata_id" for relation "hzb_plugin_item" already exists postgres | 2025-09-08 02:22:46.681 UTC [36] STATEMENT: ALTER TABLE hzb_plugin_item ADD CONSTRAINT FK_hzb_plugin_item_metadata_id FOREIGN KEY (metadata_id) REFERENCES hzb_plugin_metadata (id) postgres | 2025-09-08 02:22:46.683 UTC [36] ERROR: constraint "fk_hzb_status_page_incident_component_bind_component_id" for relation "hzb_status_page_incident_component_bind" already exists postgres | 2025-09-08 02:22:46.683 UTC [36] STATEMENT: ALTER TABLE hzb_status_page_incident_component_bind ADD CONSTRAINT FK_hzb_status_page_incident_component_bind_component_id FOREIGN KEY (component_id) REFERENCES hzb_status_page_component (id) postgres | 2025-09-08 02:22:46.686 UTC [36] ERROR: constraint "fk_hzb_status_page_incident_content_incident_id" for relation "hzb_status_page_incident_content" already exists postgres | 2025-09-08 02:22:46.686 UTC [36] STATEMENT: ALTER TABLE hzb_status_page_incident_content ADD CONSTRAINT FK_hzb_status_page_incident_content_incident_id FOREIGN KEY (incident_id) REFERENCES hzb_status_page_incident (id) hertzbeat exited with code 1 hertzbeat | -e Starting the HertzBeat apache-hertzbeat-1.7.3 ... hertzbeat | WARNING: Unknown module: org.apache.arrow.memory.core specified to --add-opens -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg13116.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd3.html#13117">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail4.html#13117">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg13118.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">[I] [Question] <title>问题出在 PostgreSQL 数据库的初始化和结构迁移上 [hert...</span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg13118.html">Re: [I] [Question] <title>问题出在 PostgreSQL 数据库的初始化和结构...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg13119.html">Re: [I] [Question] <title>问题出在 PostgreSQL 数据库的初始化和结构...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg13615.html">Re: [I] [Question] <title>问题出在 PostgreSQL 数据库的初始化和结构...</a></span> <span class="sender italic">via GitHub</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[I] [Question] <title>问题出在 PostgreSQL 数据库的初始化和结构迁移上 [hertzbeat]"> <input type="hidden" name="msgid" value="I_kwDOGyeqAs7KMxax@gitbox.apache.org"> <input type="hidden" name="relpath" value="notifications@hertzbeat.apache.org/msg13117.html"> <input type="submit" value=" via GitHub "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="notifications@hertzbeat.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search notifications"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/notifications@hertzbeat.apache.org/">notifications - all messages</a></li> <li class="icons-about"><a href="/notifications@hertzbeat.apache.org/info.html">notifications - about the list</a></li> <li class="icons-expand"><a href="/search?l=notifications@hertzbeat.apache.org&q=subject:%22%5C%5BI%5C%5D+%5C%5BQuestion%5C%5D+%3Ctitle%3E%E9%97%AE%E9%A2%98%E5%87%BA%E5%9C%A8+PostgreSQL+%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E5%88%9D%E5%A7%8B%E5%8C%96%E5%92%8C%E7%BB%93%E6%9E%84%E8%BF%81%E7%A7%BB%E4%B8%8A+%5C%5Bhertzbeat%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg13116.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg13118.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">I_kwDOGyeqAs7KMxax@gitbox.apache.org</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9e6d781dd937231f',t:'MTc3NTI3NTg4OA=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>