Mailhog not receiving mail with Warden/Magento2 setup - macos

I followed the steps at https://docs.warden.dev/environments/magento2.html to setup a magento2 environment and followed the instructions exactly. However, I'm not seeing any emails come through to MailHog when I do things like create a customer account from the Magento frontend or submit a customer Forgot Password request.
I've tried on 2 separate computers (both Macbook Pro 2021 M1's) and got the same results. How do I fix this? Alternatively, does anyone have any suggestions on how to debug the issue?

I never determined why this issue was happening, but I did find a solution. I uninstalled Warden which I had previously installed via brew per the Warden docs. I then installed the multi-arch fork instead which is available at https://github.com/drpayyne/warden-multi-arch and magically all my issues disappeared including other problems I was experiencing like ElasticSearch only working sporadically and some Magento modules pulling the wrong file paths.
Since then everything seems to be working flawlessly on both machines. 🥳
I should also note that things run significantly faster as well.

Related

TYPO3 installation issue on Mamp

trying to install the latest version of TYPO3 vers. 10.4 on my local machine. I am on a Mac and the local server is set up with Mamp Pro. Database is MySQL.
I am following this tutorial: https://docs.typo3.org/m/typo3/guide-installation/master/en-us/QuickInstall/Composer/Index.html
I am getting to step 4 out 5. Manage to connect to the database, but it seems like it's freezing up at step 4. After a long while waiting, I then tried to refresh the browser. That's a success - getting to the final step. But I can't login with the username and password, that was just created. Then I tried to look in the Database, and there are no BE users. So it would seem like the installation is not complete.
Can you guys tell me, what I am missing here or doing wrong? Or perhaps others with a similar issue, that managed to solve this.
As described in this question, I had the same problem last year. I have just tested a fresh setup of TYPO3 10.4.1 without problems on my Mac with MAMP 5.5.
Since last year I have updated my MAMP. So I guess, that MAMP 5.5 is fixing this issue.

Composer diagnose github rate limit keeps failing, using oauth tokens doesn't work either, connection times out, and download fails, what shall I do?

I followed the official instructions to install composer, but then I could not install either laravel or any other package. The connection simply times out, the download fails, saying that it cannot download some github api file.
I posted this question after I have found the solution because it took me almost two days to solve it. I tried disabling ipv6, switched from ubuntu to windows, but to no avail. But finally, this post gave me the answer I needed: How to enable PHP's openssl extension to install Composer?
I wanted to link it here because you might not at first think of searching for openssl extension. But it does solve the problem, at least it did for me.
Well, it did and then it did not. It worked for a while when the light went out, which I suspect must have shutoff some firewall server.
So, in my case, what finally solved the problem was switching from my school's wifi to a mobile data connection. Then the github rate limit passed the diagnose, and all downloads run smoothly.

CouchDB can't set up HTTPS

I am learning to work with CouchDB and I am usually making Ajax calls in order to communicate with my database. I started getting '
Cross-Origin Request blocked
' and as the reason
Access-Control-Allow-Origin
, so I decided to work with CouchDB through HTTPS and not the standard HTTP. For that, I have followed the instructions given on Link to manual.
Problem on Linux:
I first tried to set it up on my laptop where I use Linux. But I couldn't find the Local.ini file where I was supposed to set the paths to the certificates.
After unsuccessfully trying to find a solution for it, I gave up and started from the beginning on my computer, where I use Windows.
Problem on Windows:
So I installed the newest version of CouchDB on my Windows, I have created the certificates, found the Local.ini file, did everything as it is explained in the manual. The problem was that I couldn't restart CouchDB so that the changes would take place. So, after google-ing the problem, I found a possible solution, to stop CouchDB through the Task Manager->Services-> Stop Apache CouchDB. But when I tried to Start it again I get the problem
Windows could not start the Apache CouchDB on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specification error code 3.
I would be very happy if someone could help me with my problem(s). I prefer getting a solution for the Linux problem since I work mostly on my laptop, but I will be satisfied if I get it going even on Windows.
Thanks in advance
On Linux, you can add CORS to CouchDB with this package:
https://github.com/pouchdb/add-cors-to-couchdb

Can't install drupal 7.24 using MAMP on OSX Mavericks

I am trying to install drupal 7.24 using MAMP on OS X Mavericks.
I have installed drupal using MAMP hundreds of times before.
I am able to unpack the drupal core files into /Applications/MAMP/htdocs/drupal.
I am able to pull up the install.php at localhost:8888/drupal/.
I create my database using the phpmyadmin with MAMP.
I go to install drupal, enter in my databse information with user:root and pass:root.
Here is where my issue comes in. The tables are created fine in the database, however, the install script loops back to the first step. I continue through again and it asks me to enter database information again. At which point, I do, and the same issue occurs. Randomly it will let me through to set up my site with a drupal error of "No active batch."
I have tested an install of drupal 7.24 on another server with no issues. The only thing different is that I have upgraded to OSX Mavericks. I have tried installing drupal using MAMP now on two different Macbook Pros running Mavericks and have had the same exact issue.
I have google'd this issue but can't seem to find similar issues. I will keep looking. If you have any ideas as to what would be causing the drupal install to fail, it would be much appreciated. Until then, I will use Acquia.
Thanks!
I had the same exact issue yesterday and couldn't figure this out for hours. Today I was able to successfully get past the loop back problem you describe above. I cannot say exactly what the root cause of this issue is but it seems to be a display/timing issue.
Once you enter in the database creds and click submit, the loop back to step one occurs. DO NOT re-enter the database creds here. At this point you can do one of the following:
Wait for about 20 seconds and hit 'control' + 'R'
Continuously hit 'control' + 'R' (refresh) until the page moves forward to the installation loader.
You will see the modules being installed. Then it will show you completed. Let me know if this works for you.
The instructions above worked for me. I waited for about 1 minute after I got stuck and pressed CMD + R to refresh the page. The module installation process begun (saw the progress bar) and Drupal was successfully installed.

How do you install a Ruby on Rails apps on Windows/IIS?

I'm trying to get Redmine working on Windows/IIS 7. I've found several walkthroughs online, but none of them work on my Windows Server 2008 R2 box. I got a simple app (create app, no customization) to get as far as RoR error, but Redmine itself shows a 500 error (ruby.exe exited unexpectedly). I installed sqlite since some guides mention that, though Redmine uses MySQL by default. I started with the Bitnami installer and tried to customize for IIS, RorIIS, FastCGI, lots of things that look like they should work, but this problem is killing me.
If I run ruby.exe from the command line, passing it the path to the dispath.fcgi file I get an error: "The procedure entry point SetMagickMemoryMethods could not be located in the dynamic link library CORE_RL_magick_.dll". I had to install the rmagick gem myself which seemed strange since everything worked perfectly under Apache. I really thought it would be a smooth cut-over since it's up and running already and just changing web server.
Any help is much appreciated.
I've tried a lot to install Redmine on Windows environment under IIS. There's very little (or none) documentation about it. Lost many days on this. In the end, I decided to stick to the Bitnami stack of Redmine. The only caveat is that we had to use another port (8080, in our case), that's it. I gave up the idea of integrating Redmine/RoR with IIS and never looked back. Everything is working great in production now and everyone is happy about it around here.
Sorry I can't give a better answer than that, I'm just sharing some recent experience. I was obsessed about integrating RoR/ISS until I realized it was not a real requirement, it was just something I stuck into my mind. Think about it.

Resources