Hey guys,
This is my first attempt at installing and using SuiteCRM.
As I have a homemade lab running under Promox (hypervisor) and Alpine Linux containers, I usually use the lighttpd web server and php-fpm for php projects.
I did the correct installation, including adapting the permissions and being able to execute the installation via the CLI, however, when accessing the application I receive error 500, analyzing the logs I see this:
Deprecated : Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/webapps/suitecrm/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134
Deprecated : Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/webapps/suitecrm/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144
Deprecated : Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/webapps/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 131
Deprecated : Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/webapps/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 141
Fatal error : Uncaught Symfony\Component\Filesystem\Exception\IOException: Cannot rename “/tmp/url_matching_routes.phpEkJeCB” to “/usr/share/webapps/suitecrm/cache/prod/url_matching_routes.php”: rename(/tmp/url_matching_routes.phpEkJeCB,/usr/share/webapps/suitecrm/cache/prod/url_matching_routes.php): Permission denied in /usr/share/webapps/suitecrm/vendor/symfony/filesystem/Filesystem.php:305 Stack trace: #0 /usr/share/webapps/suitecrm/vendor/symfony/filesystem/Filesystem.php(683): Symfony\Component\Filesystem\Filesystem->rename() #1 /usr/share/webapps/suitecrm/vendor/symfony/config/ResourceCheckerConfigCache.php(123): Symfony\Component\Filesystem\Filesystem->dumpFile() #2 /usr/share/webapps/suitecrm/vendor/symfony/routing/Router.php(296): Symfony\Component\Config\ResourceCheckerConfigCache->write() #3 /usr/share/webapps/suitecrm/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php(39): Symfony\Component\Routing\Router->Symfony\Component\Routing{closure}() #4 /usr/share/webapps/suitecrm/vendor/symfony/routing/Router.php(287): Symfony\Component\Config\ResourceCheckerConfigCacheFactory->cache() #5 /usr/share/webapps/suitecrm/vendor/symfony/routing/Router.php(251): Symfony\Component\Routing\Router->getMatcher() #6 /usr/share/webapps/suitecrm/core/backend/Routes/Service/LegacyNonViewActionRedirectHandler.php(89): Symfony\Component\Routing\Router->matchRequest() #7 /usr/share/webapps/suitecrm/core/backend/Routes/Service/LegacyRouteHandler.php(159): App\Routes\Service\LegacyNonViewActionRedirectHandler->isMatch() #8 /usr/share/webapps/suitecrm/core/backend/Routes/Service/LegacyRouteHandler.php(94): App\Routes\Service\LegacyRouteHandler->isLegacyNonViewActionRoute() #9 /usr/share/webapps/suitecrm/core/backend/Kernel.php(127): App\Routes\Service\LegacyRouteHandler->getLegacyRoute() #10 /usr/share/webapps/suitecrm/public/index.php(34): App\Kernel->getLegacyRoute() #11 {main} thrown in /usr/share/webapps/suitecrm/vendor/symfony/filesystem/Filesystem.php on line 305
I believe it has to do with mod_rewrite, does anyone have any ideas?



