<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Femi Amoo</title>
    <description>The latest articles on DEV Community by Femi Amoo (@usecodenaija).</description>
    <link>https://dev.to/usecodenaija</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F275808%2Ff6e1864b-3831-4ad6-b5a3-afd6e0a71c18.jpeg</url>
      <title>DEV Community: Femi Amoo</title>
      <link>https://dev.to/usecodenaija</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/usecodenaija"/>
    <language>en</language>
    <item>
      <title>Metabase 500 internal server error</title>
      <dc:creator>Femi Amoo</dc:creator>
      <pubDate>Wed, 20 Nov 2019 10:20:31 +0000</pubDate>
      <link>https://dev.to/usecodenaija/metabase-500-internal-server-error-32o1</link>
      <guid>https://dev.to/usecodenaija/metabase-500-internal-server-error-32o1</guid>
      <description>&lt;p&gt;This is a quick guide on how to fix 500 server error response on Metabase server.&lt;/p&gt;

&lt;p&gt;After logging in to my Metabase, and querying data as usual, for a while, I had no issues running a few queries and traversing through the database. Until I was logged out all of a sudden, I tried to login and got kicked with a 500 internal server error response just like the one in the image below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Sj0muenP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://thepracticaldev.s3.amazonaws.com/i/igishq18xs93juxp48rv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Sj0muenP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://thepracticaldev.s3.amazonaws.com/i/igishq18xs93juxp48rv.png" alt="Alt Text" width="650" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I figured I had to check the logs for clues as to what the cause of the error is.&lt;/p&gt;

&lt;p&gt;I “sshed” into the server and opened the log file for the Metabase service.&lt;/p&gt;

&lt;p&gt;[proxy:error] [pid 17125] [client 172.69.12.136:9960] AH00898: Error reading from remote server returned by /api/dataset&lt;/p&gt;

&lt;p&gt;I got this from the server logs and all I had to do to fix the error was restart the Metabase service using the command below.&lt;/p&gt;

&lt;p&gt;sudo service metabase restart&lt;/p&gt;

&lt;p&gt;or try using systemctl&lt;/p&gt;

&lt;p&gt;sudo systemctl stop metabase.service&lt;/p&gt;

&lt;p&gt;sudo systemctl start metabase.service&lt;/p&gt;

&lt;p&gt;and voila Metabase is back up and running.&lt;/p&gt;

&lt;p&gt;References&lt;br&gt;
&lt;a href="https://computingforgeeks.com/how-to-install-metabase-with-systemd-on-ubuntu-18-04-ubuntu-16-04/"&gt;https://computingforgeeks.com/how-to-install-metabase-with-systemd-on-ubuntu-18-04-ubuntu-16-04/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>metabase</category>
      <category>500</category>
      <category>errors</category>
      <category>java</category>
    </item>
  </channel>
</rss>
