Skip to content

Comments

[bitnami/suitecrm] fix: SKIP_BOOTSTRAP not working properly with suitecrm 8#82432

Closed
DavidMarquezF wants to merge 3 commits intobitnami:mainfrom
DavidMarquezF:main
Closed

[bitnami/suitecrm] fix: SKIP_BOOTSTRAP not working properly with suitecrm 8#82432
DavidMarquezF wants to merge 3 commits intobitnami:mainfrom
DavidMarquezF:main

Conversation

@DavidMarquezF
Copy link

@DavidMarquezF DavidMarquezF commented Jun 16, 2025

Description of the change

This is my go at making SuiteCRM 8 work properly with SKIP_BOOSTRAP flag set to true, which currently doesn't work. I think when migrating from 7 to 8 this path was missed.

This flag allows you to not have to keep the whole SuiteCRM installation in a persisted volume by initializing everything from scratch but the database.

The thing that still doesn't work which I haven't had a go at is the SMTP set up.

What I've solved:

  • Create .env.local file to support new SuiteCRM 8 config, as well as added necessary properties and updates to the legacy config.php (like cron, and unique_key)
  • .htacces file at public/legacy/.htaccess was included, which blocked necessary resources to run the page

This has been more of a surgical fix, but in general the code should/could be cleaned up a lot to remove all the SuiteCRM 7 related code since it's not officially supported anymore by bitnami

Benefits

SKIP_BOOTSTRAP flag functional again.

Possible drawbacks

  • Haven't had time to test the other ways (without SKIP_BOOTSTRAP), but in general my changes should not affect.
  • Not really sure why public/legacy/.htaccess was included in the first place, but it was also something that did not work properly when running SuiteCRM 7, as it blocks resoruces like images and icons behind 403. Please let me know if this is maybe introducing any security holes

Applicable issues

Additional information

@github-actions github-actions bot added suitecrm triage Triage is needed labels Jun 16, 2025
@github-actions github-actions bot requested a review from javsalgar June 16, 2025 14:26
@javsalgar javsalgar changed the title fix(suitecrm): SKIP_BOOTSTRAP not working properly with suitecrm 8 [bitnami/suitecrm] fix: SKIP_BOOTSTRAP not working properly with suitecrm 8 Jun 17, 2025
@javsalgar
Copy link
Contributor

Hi!

Thank you so much for the PR! Could you fix the DCO issue?

* Create .env.local file to support new SuiteCRM 8 config, as well as added necessary properties and updates to the legacy config.phpo
* .htacces file at public/legacy/.htaccess was included, which blocked necessary resources.

Signed-off-by: David Márquez Fàbrega <32216320+DavidMarquezF@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Jul 3, 2025

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Jul 3, 2025
@github-actions
Copy link

github-actions bot commented Jul 9, 2025

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.

@github-actions github-actions bot added the solved label Jul 9, 2025
@bitnami-bot bitnami-bot added stale 15 days without activity and removed stale 15 days without activity labels Jul 9, 2025
@bitnami-bot bitnami-bot closed this Jul 9, 2025
@DavidMarquezF
Copy link
Author

I did fix what was asked i think. What happened?

@javsalgar javsalgar reopened this Jul 9, 2025
@github-actions github-actions bot removed the solved label Jul 9, 2025
@javsalgar javsalgar added in-progress verify Execute verification workflow for these changes and removed stale 15 days without activity labels Jul 9, 2025
@github-actions github-actions bot removed the triage Triage is needed label Jul 9, 2025
@github-actions github-actions bot removed the request for review from javsalgar July 9, 2025 07:16
@github-actions github-actions bot requested a review from migruiz4 July 9, 2025 07:16
@github-actions
Copy link

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Jul 25, 2025
@DavidMarquezF
Copy link
Author

.

@github-actions github-actions bot removed the stale 15 days without activity label Jul 29, 2025
Signed-off-by: David Márquez Fàbrega <32216320+DavidMarquezF@users.noreply.github.com>
@carrodher carrodher removed their request for review December 30, 2025 13:33
@carrodher carrodher removed their assignment Dec 30, 2025
This is necessary when running SuiteCRM with ACA for instance. The host name is the ACA hostname but the real hostname needs to be enabled here in order to not get blocked for XSRF for some queries
@github-actions
Copy link

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Jan 28, 2026
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.

@github-actions github-actions bot added the solved label Feb 2, 2026
@bitnami-bot bitnami-bot added stale 15 days without activity and removed stale 15 days without activity labels Feb 2, 2026
@bitnami-bot bitnami-bot closed this Feb 2, 2026
@carrodher carrodher reopened this Feb 3, 2026
@carrodher carrodher removed stale 15 days without activity solved labels Feb 3, 2026
@github-actions github-actions bot added the triage Triage is needed label Feb 3, 2026
@github-actions github-actions bot requested a review from carrodher February 3, 2026 12:47
@carrodher carrodher removed their request for review February 3, 2026 12:48
@carrodher carrodher removed their assignment Feb 3, 2026
@carrodher carrodher added on-hold Issues or Pull Requests with this label will never be considered stale and removed triage Triage is needed on-hold Issues or Pull Requests with this label will never be considered stale labels Feb 3, 2026
@github-actions
Copy link

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Feb 19, 2026
@github-actions
Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.

@bitnami-bot bitnami-bot added stale 15 days without activity and removed stale 15 days without activity labels Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

solved stale 15 days without activity suitecrm verify Execute verification workflow for these changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants