title: I get error 'cannot create temp dir for unpacking extensions' when using Selenium
body: <p>I ran a web scraper python program using Chromium driver in Selenium. I ran it in a remote server (running Ubuntu 18.04 LTS) for 3-4 days as it was a data collection task. Suddenly I got this error stating that I cannot create temp dir for unpacking extensions. I have searched for similar issues but did not find any solution for this error. How would I fix this?</p>
  <p>Thanks in advance!!</p>
  <pre class="lang-sh prettyprint-override"><code>Traceback (most recent call last):
    File &quot;sele.py&quot;, line 14, in &lt;module&gt;
      driver = webdriver.Chrome('/snap/bin/chromium.chromedriver',options=options)
    File &quot;/home/akileshvar/.local/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py&quot;, line 81, in __init__
      desired_capabilities=desired_capabilities)
    File &quot;/home/akileshvar/.local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py&quot;, line 157, in __init__
      self.start_session(capabilities, browser_profile)
    File &quot;/home/akileshvar/.local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py&quot;, line 252, in start_session
      response = self.execute(Command.NEW_SESSION, parameters)
    File &quot;/home/akileshvar/.local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py&quot;, line 321, in execute
      self.error_handler.check_response(response)
    File &quot;/home/akileshvar/.local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py&quot;, line 242, in check_response
      raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.WebDriverException: Message: unknown error: cannot create temp dir for unpacking extensions
  </code></pre>