Questions about deployment

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
fate0079
Posts: 4
Joined: 14 May 2023, 01:57

Questions about deployment

Post by fate0079 » 14 May 2023, 02:00

After the deployment is completed according to the tutorial, I can only access some resources on the home page. Other routes return 404. Why?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Questions about deployment

Post by aimeos » 14 May 2023, 09:49

Any additional information? Aimeos version? Which package/distributiion? Any errors before?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

fate0079
Posts: 4
Joined: 14 May 2023, 01:57

Re: Questions about deployment

Post by fate0079 » 14 May 2023, 11:47

wget https://getcomposer.org/download/latest ... poser.phar -O composer
php composer create-project aimeos/aimeos myshop


I pulled the source code directly according to this command, but it seems that I do see resource files such as admin in my virtual machine folder

fate0079
Posts: 4
Joined: 14 May 2023, 01:57

Re: Questions about deployment

Post by fate0079 » 14 May 2023, 11:49

http://64.176.185.64/
check it,
php 8.0.2
centos 8

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Questions about deployment

Post by aimeos » 14 May 2023, 12:23

PHP 8.0.2 isn't supported because of bugs in the PHP interpreter. You need at least PHP 8.0.11 and that doesn't seem to be enforced by composer when installing the distribution even if it's added in the composer.json as requirement.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

fate0079
Posts: 4
Joined: 14 May 2023, 01:57

Re: Questions about deployment

Post by fate0079 » 14 May 2023, 12:46

I have upgraded the php version, still the same error. there is no admin in my resource file, so it cannot be found?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Questions about deployment

Post by aimeos » 16 May 2023, 06:41

What do you mean? What is the "resource" file?

Can you please install the Aimeos distribution again? Due to the buggy PHP version it's likely that it's not installed correctly.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply