How can you install 3.11.x from 3.10? - rabbitmq

I'm trying to upgrade my version of RabbitMQ using chocolatey. This package has Erlang as a dependency, so installs the relevant version required. I've gone from 3.9.19 to 3.10 fine. However, when I try and go from 3.10 to 3.11.7 I get the following error:
beam\beam_load.c(169): Error loading module elixir:
This BEAM file was compiled for a later version of the run-time system than 24.
To fix this, please recompile this module with an 24 compiler.
(Use of opcode 178; this emulator supports only up to 176.)
ERROR! Failed to start Elixir.
error: {error,
{elixir,
{bad_return,
{{elixir,start,[normal,[]]},
{'EXIT',
{undef,
[{elixir,start,[normal,[]],[]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},
{line,293}]}]}}}}}}
I don't know why this is happening, or if it's even a problem. I've not been able to find anything on this error. When I run RabbitMQ it appears to be running ok with the right version of Erlang. However, this error suggests that it's attempting to use Erlang version 24 (which was already installed as part of installing 3.9.19). How is it deciding what version of Erlang to use here? I checked my environment variables and it the ERLANG_HOME is set correctly.
Update
I tried going through the process again and installing rabbitmq 3.9.19 from chocolatey, upgrading to 3.10.1, then using the choco command to uninstall just Erlang 24.0 (using force). I then upgraded rabbitmq to version 3.11.8. This got rid of the previous error but showed another one stating:
ERLANG_HOME not set correctly.
Please either set ERLANG_HOME to point to your Erlang installation or
place the RabbitMQ server distribution in the Erlang lib folder.
However, when I checked the ERLANG_HOME environment variable it seemed to be set correctly, in that it was pointing now at Erlang OTP and not erl-24.0. So why is this error thrown?

Related

dbt.exceptions has no attribute DatabaseException?

I am receiving an error for a dbt model that has never had any previous issues. The error that appears details that module dbt.exceptions has no attribute database exception?
I am on dbt-core using the dbt-sqlserver adapter, and have never encountered this error. I have tried a dbt clean -> dbt deps -> dbt run and still have not solved the issue. I only started encountering this error after I upgraded to 1.4.1 and am wondering if that may have started causing this issue to surface?
Looks like dbt-sqlserver hasn't released 1.4 yet, so your dbt-core version is ahead of your adapter version. You should never install dbt-core separately from your adapter, or pin a specific version of core. If you just pip install dbt-sqlserver, it will install a compatible version of dbt-core.

Erlang wont start. Unable to load emulator (beam.smp.dll)

I had Erlang 21.2 installed as I am using RabbitMQ (3.7.10), this is on Windows 10. I wanted to upgrade to a later version RabbitMQ (3.9.15), so I uninstalled 21.2 and installed 24.3.3. But after upgrading RabbitMQ I cant run RabbitMQ.
When trying to start I get the following error:
Unable to load emulator DLL
(C:\Program Files\erl-24.3.3\erts-12.3.1\bin\beam.smp.dll)
I thought this might be an issue with RabbitMQ and have uninstalled and reinstalled both Erlang and RabbitMQ multiple times now with no change.
I decided to try run Erlang manually from C:\Program Files\erl-24.3.3\erts-12.3.1\bin\ but when I run '.\erl.exe' I get the same error.
Taking Luke's advice we downloaded 24.3.4 and ran the installer. We also re-ticked the box to install windows binaries even though it said they were already present.
Not sure which of those two things actually fixed the issue but after that Erlang started successfully.

VSCode WSL - Installing VS Code Server for x64 - FAIL

Can anyone decode the following for me?
WSL was working perfectly on C++ a few weeks back.
Switched to try to run older Python under windows (not WSL) and it seems all twisted up now.
Can't get Win10 nor WSL to run. Keeps trying and failing to update. I re-ran the WSL and updated VSCode on the windows side. I AM behind a proxy but as far as I know, I've update all the files that google searches pointed me at. Pretty frustrated and would appreciate any help there is.
"
Request downloadRequest failed with message: getaddrinfo ENOTFOUND update.code.visualstudio.com. Will try to download on WSL side."
"
[2022-02-10 13:51:09.374] Setting up server environment: Looking for /home/ubuntu/.vscode-server/server-env-setup. Not found.
[2022-02-10 13:51:09.374] WSL version: 4.4.0-19041-Microsoft Ubuntu-20.04
[2022-02-10 13:51:09.374] Updating VS Code Server to version d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03
[2022-02-10 13:51:09.374] Removing previous installation...
[2022-02-10 13:51:09.674] Installing VS Code Server for x64 (d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03)
[2022-02-10 13:51:09.674] Downloading:
[2022-02-10 13:52:43.314] VS Code Server for WSL failed to start. No messages received for 90s
[2022-02-10 13:52:43.314] For help with startup problems, go to
[2022-02-10 13:52:43.314] https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
[2022-02-10 13:52:43.328] WSL Daemon exited with code 0
"
I'm not 100% which step fixed it however I was able to proceed after.
Launching C++ project in wsl also tried to update and failed. The difference being that the install button did actually install the wsl server update w/o fail. So that error was gone.
I then launched another VSCode session with the Python project and the cmd terminal. I then had to use this help (https://github.com/pypa/pip/issues/9216#issuecomment-741836058) to adjust the proxy.
I could then proceed to reinstall ipykernel which is what had stopped working and was blocking me.
I'm pretty sure my environments are conflicting with each other. I'm afraid I don't understand VSCode environments well enough and very likely caused this problem for myself.

Laravel Valet+ all sites yield "undefined function apcu_fetch()"

I did something stupid and while in the middle of a valet use 7.1 process, I pressed ctrl-C. In an attempt to get everything working since then I uninstalled valet+, did a composer global update, a brew update, valet fix, and valet install yet still every site I visit just spits out "Fatal error: Call to undefined function apcu_fetch() in /Users/n8klatt/.composer/vendor/weprovide/valet-plus/server.php on line 37". Any ideas on how I can get Valet+ working again?
(The initial error after interrupting the valet use 7.1 call was "Unable to determine linked PHP", which I remedied with a brew link --force php#5.6 since 5.6 was what I had been using. That allowed me to proceed with the valet use 7.1 but then all my sites started throwing that apcu_fetch error.)
So you're experiencing 2 problems here:
Call to undefined function apcu_fetch() is most likely caused by having PHP-FPM run your webserver on a different PHP version as your CLI. Makes sure your webserver is running the same version as your CLI. An easy was to check this is adding the PHPINFO within the server.php file and check the result. Often restarting your PC allows old PHP-FPM instances to die.
Unable to determine linked PHP is an error thrown when you're running on a native PHP version which is not installed by brew. In this case valet-plus cannot find the correct version number of your PHP installation and throws this error.
Solutions:
Make sure APCu is installed correctly as mentioned in weprovide/valet-plus#133
Make sure your PHP installation is not faulty as mentioned in weprovide/valet-plus#127
Hope that helps, if not give me a comment.
I had the same problem with php56. But I'm not using valet, after I reinstall the PHP56 with brew, and it added pear and pecl module. I installed apcu (couldn't install apc directly) with pecl channel-update pecl.php.net and pecl install apcu-4.0.11.
After that installation added extension="apcu.so" in php56 .ini file, which points to /usr/local/Cellar/php#5.6/5.6.38/lib/php/20131226/apcu.so where the image does not exist really because it was installed by PECL, so I had to change php56 .ini to apcu extension to match extension=/usr/local/lib/php/pecl/20131226/apcu.so where the image file resides for real, and then restart apache and it works.

Intellij apparently not getting installed, not running

i have a 32 bit Fedora 14 machine and I am trying to install IntellIJ IDEA on it, I used the package manager to install it. Along with that installation, also Eclipse and Groovy got installed.
Then I tried to install a new version of JDK but it didnt allow me to do so because of conflict with an older version of JRE, So I removed the JRE older version and installed JDK.
Then I have been noticing that IntelliJ refuses to run, I uninstalled and reinstalled and checked several times, but it just refuses to start, Then I opened a terminal and typed intell, hoping that the terminal would complete it for me, and I could launch the program from the command line, but no it said "intellIj:Command not found", whereas the same thing does not happen with Eclipse or Groovy.
I have tried restarting the machine several times, uninstalled and then reinstalled the packages several times, but nothing seems to work. I am not sure whether Intellij is getting installed or not, but the Package Manager does not show any error while the software is being installed. Any ideas as to why this is happening, and how to get around this problem?
You should try to install it manually by just extracting tgz file downloaded from producer website. Then you start IDE by launching IDEA_DIRECTORY/bin/idea.sh