Zuluru / Zuluru3

Open source web-based sports league management application
Other
37 stars 19 forks source link

Installation Help #50

Open mcm2007 opened 3 weeks ago

mcm2007 commented 3 weeks ago

Hey yall! I am trying to make a project on wich anyone can just share their own tornument and create an league so everyone can see and automatic attend to that event; As of that i found this platform that seems to fit perfectly the purpose if this project. As i was trying to install the software i cant from anyhow to get it running.... Im on a EC2 t2.medium with ubuntu 24.04 and i installed php7.4 because it seems that is the only one that is capable of dealing with all the packages without errors. Step by step of what i did: 1- git clone to /var/www/html Using Apache2 2- after install compose, done sudo compose install (tried without sudo and came with permission error) 3- created an .env file on the root so at /var/www/html/zuluru3 3.1- Filled with SQL_USERNAME, SQL_DATABASE, SQL_PORT, SQL_HOSTNAME, SQL_PASSWORD and TIMEZONE=UTC; 3.2- Also changed on the bootstrap.php config file the date_default_timezone_set to TIMEZONE 4- Also created an file on /etc/apache2/sites-available/zuluru3.conf <VirtualHost *:80> ServerAdmin webmaster@yourdomain.com ServerName yourdomain.com DocumentRoot /var/www/html/zuluru3/webroot

<Directory /var/www/html/zuluru3/webroot>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Require all granted
</Directory>

ErrorLog ${APACHE_LOG_DIR}/zuluru3_error.log
CustomLog ${APACHE_LOG_DIR}/zuluru3_access.log combined

5- Tried to do bin/cake server but came along with the following errors PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /var/www/html/zuluru3/config/bootstrap.php on line 116 Exception: Plugin Scheduler could not be found. in [/var/www/html/zuluru3/vendor/cakephp/cakephp/src/Core/PluginCollection.php, line 137] 6- Also the webserver just shows the default cakephp webserver you can check it at: http://54.210.51.1/ I would realy appreciate some help or a more extensive installation guide; And i hope to support this project as well, but if someone knows of similar projects im still open to possibilites as long as it offer me full flexibility and i dont need to pay for extra feauters. Drop up if you need anymore information

mcm2007 commented 3 weeks ago

Update: The Timezone was fixed an small .env error, but still got the Plugin Scheduler error... while trying to use the bin/cake server. Apache still shows an default page?

At this point i tried so many things that i cant even remember everything :(

Zuluru commented 3 weeks ago

I'll assume you used the master branch. There's a new "cake4" branch which will very soon become official, but isn't quite there yet. It's mostly upgrades for various things (PHP, MySQL, CakePHP framework, third party packages). #49 is working on resolving installation issues there.

All that said, your main problem seems to be that you tried to create the .env file on your own, instead of using the web-based installer, per the instructions in the readme file. Not sure that doing so will resolve it all for you at this point, waiting for a couple weeks until I have time to really nail down the new version might be your best bet.

mcm2007 commented 3 weeks ago

Yes, i created the .env file for my self because i just came along many issues and couldnt get the web installer going trough; Btw i tried to do a composer install on a fresh os installation with php8.0 on the cakephp4 branch but came with the same issue: Exception: Plugin Scheduler could not be found. In [/home/admin/Zuluru3/vendor/cakephp/cakephp/src/Core/PluginCollection.php, line 143]

mcm2007 commented 3 weeks ago

Just to see if this helps out trying to sort out bugs but on ubuntu 22.04 on the cakephp4 branch: ubuntu:~/Zuluru3$ sudo docker-compose up -d Building app DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/

Sending build context to Docker daemon 20.31MB Step 1/9 : FROM php:7.3-alpine ---> 8e078b6a6493 Step 2/9 : RUN apk add --update autoconf git icu-dev libzip-dev php7-curl php7-intl php7-mbstring php7-mysqli php7-opcache php7-openssl php7-pdo_mysql php7-pdo_pgsql php7-pgsql php7-zip php7-zlib postgresql-dev && docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd && docker-php-ext-install intl mbstring pcntl pdo_mysql pdo_pgsql pgsql zip opcache && rm -rf /var/cache/apk/* ---> Using cache ---> f6fea09035f4 Step 3/9 : RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer ---> Using cache ---> 4651db0f8756 Step 4/9 : COPY . /var/www/html ---> Using cache ---> 04a664c02659 Step 5/9 : WORKDIR /var/www/html ---> Using cache ---> 790443329d2b Step 6/9 : RUN composer install --no-interaction ---> Running in cf7904dbdb3d Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1