Magento Indexer Bug in 1.9.4.0How to create a Custom Indexer?Bind a Custom Entity Event to an Indexer ?Magerun vs Command line indexerIs my indexer working?When magento Indexer callMagento Indexer IssueIndexer, Reindex ALL Magento2Catalogue Search Indexer Unknown ErrorExtend Catalog Search Indexer

Unable to supress ligatures in headings which are set in Caps

Avoiding the "not like other girls" trope?

How can saying a song's name be a copyright violation?

How writing a dominant 7 sus4 chord in RNA ( Vsus7 chord in the 1st inversion)

Short story with a alien planet, government officials must wear exploding medallions

Why doesn't using multiple commands with a || or && conditional work?

How do I deal with an unproductive colleague in a small company?

What killed these X2 caps?

Extract rows of a table, that include less than x NULLs

Can a virus destroy the BIOS of a modern computer?

Is it logically or scientifically possible to artificially send energy to the body?

CAST throwing error when run in stored procedure but not when run as raw query

Is this a hacking script in function.php?

Mathematica command that allows it to read my intentions

Arrow those variables!

Does the Idaho Potato Commission associate potato skins with healthy eating?

Should I tell management that I intend to leave due to bad software development practices?

What is the most common color to indicate the input-field is disabled?

Bullying boss launched a smear campaign and made me unemployable

Alternative to sending password over mail?

Plagiarism or not?

Ambiguity in the definition of entropy

How seriously should I take size and weight limits of hand luggage?

How do conventional missiles fly?



Magento Indexer Bug in 1.9.4.0


How to create a Custom Indexer?Bind a Custom Entity Event to an Indexer ?Magerun vs Command line indexerIs my indexer working?When magento Indexer callMagento Indexer IssueIndexer, Reindex ALL Magento2Catalogue Search Indexer Unknown ErrorExtend Catalog Search Indexer













2















currently i have a bug(?) in Magento CE1.9.4.0 - where i just upgraded from 1.9.3.4.



My problem is that the indexer is not able to lock files.



I created a simple php file to reproduce the error:



require_once 'app/Mage.php';
umask(0);
Mage::app('');

$indexProcess = Mage::getModel('index/process');
$indexProcess->setId('something');
$indexProcess->lockAndBlock();

if ($indexProcess->isLocked())
var_dump('locked');
else
var_dump('something went wrong');



The output is everytime: something went wrong



To verify that this is not a problem with the upgraded version i tried to run the same code on a freshly installed magento 1.9.4.0 -> same error, it even did not work out to move the code to a different server. Also i tried to run the Code in different Versions of PHP(5.6 & 7.2).



Did someone else had the same error and maybe a solution?



Ah and of course i checked the file permission in the var/locks path



Thanks in advance!










share|improve this question


























    2















    currently i have a bug(?) in Magento CE1.9.4.0 - where i just upgraded from 1.9.3.4.



    My problem is that the indexer is not able to lock files.



    I created a simple php file to reproduce the error:



    require_once 'app/Mage.php';
    umask(0);
    Mage::app('');

    $indexProcess = Mage::getModel('index/process');
    $indexProcess->setId('something');
    $indexProcess->lockAndBlock();

    if ($indexProcess->isLocked())
    var_dump('locked');
    else
    var_dump('something went wrong');



    The output is everytime: something went wrong



    To verify that this is not a problem with the upgraded version i tried to run the same code on a freshly installed magento 1.9.4.0 -> same error, it even did not work out to move the code to a different server. Also i tried to run the Code in different Versions of PHP(5.6 & 7.2).



    Did someone else had the same error and maybe a solution?



    Ah and of course i checked the file permission in the var/locks path



    Thanks in advance!










    share|improve this question
























      2












      2








      2








      currently i have a bug(?) in Magento CE1.9.4.0 - where i just upgraded from 1.9.3.4.



      My problem is that the indexer is not able to lock files.



      I created a simple php file to reproduce the error:



      require_once 'app/Mage.php';
      umask(0);
      Mage::app('');

      $indexProcess = Mage::getModel('index/process');
      $indexProcess->setId('something');
      $indexProcess->lockAndBlock();

      if ($indexProcess->isLocked())
      var_dump('locked');
      else
      var_dump('something went wrong');



      The output is everytime: something went wrong



      To verify that this is not a problem with the upgraded version i tried to run the same code on a freshly installed magento 1.9.4.0 -> same error, it even did not work out to move the code to a different server. Also i tried to run the Code in different Versions of PHP(5.6 & 7.2).



      Did someone else had the same error and maybe a solution?



      Ah and of course i checked the file permission in the var/locks path



      Thanks in advance!










      share|improve this question














      currently i have a bug(?) in Magento CE1.9.4.0 - where i just upgraded from 1.9.3.4.



      My problem is that the indexer is not able to lock files.



      I created a simple php file to reproduce the error:



      require_once 'app/Mage.php';
      umask(0);
      Mage::app('');

      $indexProcess = Mage::getModel('index/process');
      $indexProcess->setId('something');
      $indexProcess->lockAndBlock();

      if ($indexProcess->isLocked())
      var_dump('locked');
      else
      var_dump('something went wrong');



      The output is everytime: something went wrong



      To verify that this is not a problem with the upgraded version i tried to run the same code on a freshly installed magento 1.9.4.0 -> same error, it even did not work out to move the code to a different server. Also i tried to run the Code in different Versions of PHP(5.6 & 7.2).



      Did someone else had the same error and maybe a solution?



      Ah and of course i checked the file permission in the var/locks path



      Thanks in advance!







      indexer magento-1.9.4.0






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 13 '18 at 14:14









      tobiastobias

      112




      112




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f253550%2fmagento-indexer-bug-in-1-9-4-0%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f253550%2fmagento-indexer-bug-in-1-9-4-0%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

          БиармияSxpst500bh2ntaf! 3h2r