Watch out when using the Bitnami image

Bitnami has been taken over by Broadcom.

It seems like, they are splitting up their maintained images in hardened / secure images and legacy ones.
SuiteCRM is currently in the legacy catalogue.
https://hub.docker.com/u/bitnamilegacy?page=1&search=suite

Read more in their press release:

Despite the upgrade issue, additionally the ā€˜legacy flag’ is hovering over the Bitnami image. Probably be at least careful and conscious about the decision on whether or not to use this image (especially conscious for production).

1 Like

Apart from this new issue, there is the old one: how exactly do you do PHP and MySQL upgrades in Bitnami images?

Their answer is (or was, when I last asked years ago) to use a newer container and migrate your SuiteCRM over there.

Since the CRM migrations are usually not that straight-forward, I would say that Bitnami is not a valid option for SuiteCRM.

I wouldn’t mind if someone proved me wrong and explained how they do the platform upgrades.

1 Like

It definitely is not!

Unfortunately, it’s marketed as ā€œso easyā€, just spin it up and you’re all set.
That’s only true for temporary testing. In the long run it’s a rather bad choice and technically not very feasable.

If someone wants to build up SuiteCRM for the next 3 - 10 years as the backbone and brain of their business, I’d argue it’s worth spending some more thoughts and hours on the initial install.

1 Like

Hey @pgr @BastianHammer,

Did I get it wrong or the bitnami images from now on will have to be paid? Meaning you could still get a version of SuiteCRM from their Bitnami Secure Images initiative⁠ if you pay? And all older images are going legacy?

Hello Anthony,

I didn’t look into this.
But even if that is possible, check how an upgrade, how customizations and how small file changes would work within the image.

This is extremely concerning for me at least.

I was never able to create an automated installer for 7.x.x due to the requirement to install through a web server.

I can share what I’ve made to power 8.x.x images. I haven’t maintained it in a while however it could work as a template or something.

I usually argue, that this is a one time thing.
Most customers install the CRM once, use it for a year or years and then look into the upgrade.

The installation here in the forums is just such a big topic, since there are so many different environments and everybody has to go through the installation before getting more quiet again in the forums.

The scripts to automatically install are not strictly required however going from being able to turn on a stack and have everything installed and up and running from pressing go to having to run all the steps manually will cause friction for those who use containers.

We are considering using containers for dev environments. Our Production SCRM server is not containerized. Should we be aware of anything before beginning this endeavor?

Hello Mike,

you’d be building the containers by yourself?
If you’re very familiar with Docker and SuiteCRM installations, it works fairly well.
I usually use a PHP image and adjust it via a Dockerfile and a fairly standard MariaDB container.

For upgrades, I’d still get the files and DB onto a ā€œrealā€ VM and do everything there, due to the CLI restrictions inside a container (composer / wget / vi etc.)

Hi Bastian,

So far, no good. I gzip’d our AWS Linux suitecrm and backed up the db, followed some sketchy instructions from Gemini to create docker images on an ubuntu 24 laptop, and have had so many errors I may have aged 5 years in a day. I get to a login window, but my credentials are not accepted, even after manually resetting the admin hash in the db. Gemini hallucinations abound about how to fix this.

Do you or anyone have a supported or tested way to create a local dev environment on a linux laptop? We are using our production server to test code and it makes me nervous every time I push new code changes.

Hello Mike,

I’ve got a few installations - usually specifically for customers.
It is more complex than a vanilla Linux LAMP installation and upgrades, customizations, API access, uploads and the new file fields make things more difficult.

Recently, there has been an approach to provide sth. more complete, see whether this helps:

As for the local dev environment:
If you know your way around Linux (Actually, since Suite 8 now isn’t supporting Win server anymore, there is no way around Linux), simply install VirtualBox or virt-manager and install a standard Ubuntu 24 LTS there (no admin UI tools).
The installation is so easy, once the environment is the ā€œcorrect oneā€.

That will probably be the APP_SECRET, ensure you have an environment variable set in either .env.local or your docker-compose.yml file that sets APP_SECRET to the value from your main server.

Personally here I use Serversideup, do a pull of (my) current Suite image from Suites download, extract it and use env vars and a startup script to do an install if certain Env vars are not set. Then i have a CLI command that runs the repair/rebuild and cache:clear, it installs all the mysql (if a fresh install) and creates initial user etc. taks about 3 minutes to run..

Regards

Mark

My script generates all the variables and secrets for you. :slight_smile: Just run -

./deploy-suitecrm.sh
1 Like