"An Internal Error Has Occurred. Error: An Internal Error Has Occurred" while installing orangescrum, how to fix this issue?

I was missing something you still have to run the following.
  • Download composer: wget -O /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar ; chmod +x /usr/local/bin/composer
  • Change directory: /var/www/html/orangescrum-main
  • Enabe php74: source /opt/remi/php74/enable
  • Install phpcake: composer require cakephp/cakephp
  • change all to apache: chown apache:apache -R /var/www/html/orangescrum-main

Then you should be able to fill out the database credentials and continue but then you run into the bug that was recently reported.
So that will have to be solved first.
 
Last edited:


Did it, not happening. I'll try on rocky linux now. Where did you follow up for rocky linux installation? Can you share that tutorial? did it work in rocky linux? the credentials?
 
Did it, not happening. I'll try on rocky linux now. Where did you follow up for rocky linux installation? Can you share that tutorial? did it work in rocky linux? the credentials?
If you did the step of filling the info database.php you shouldn't get a page that requests your database credentials.
 
Just so you know I have been writing this out personally for you, they aren't tutorials I grabbed from the web. I based them on the installation instructions mention on the Github page of orangescrum. Here's the updated one for Rocky Linux 9.
OS: Rocky Linux 9.1

1. Install packages: dnf install httpd mariadb mariadb-server php unzip wget ImageMagick
2. Enable services: systemctl enable httpd mariadb php-fpm --now
3. Setup an apache vhost in /etc/httpd/conf.d/orange.conf
- That looks something like this:

<VirtualHost *:80>
ServerName orange1.example.com
ErrorLog /var/log/httpd/orange-error.log
CustomLog /var/log/httpd/orange-access.log combined
Loglevel warn

DocumentRoot /var/www/html/orangescrum-main

<Directory "/var/www/html/orangescrum-main">
DirectoryIndex index.php index.html
Options Indexes FollowSymlinks
AllowOverride all
Require all granted
</Directory>
</VirtualHost>

  • Restart apache: systemctl restart httpd
  • Open http firewall port: firewall-cmd --add-service=http --permanent ; firewall-cmd --reload

3. Setup php:
  • We are going to install the remi repo because more php modules being availabe there: dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
  • We are going to use php 7.4: dnf module reset php ; dnf module enable php:remi-7.4 ; dnf module install php:remi-7.4
  • We are going to install needed php modules: dnf install php-cli php-common php-dba php-enchant php-fpm php-gd php-imap php-ldap php-mbstring php-mysql php-pdo php-pecl-zip php-pecl-memcache php-pecl-imagick php-tidy php-xml php-opcache php-pear php-curl php-pecl-mcrypt php-intl ImageMagick

- Change the following settings to 200M in /etc/php.ini
post_max_size = 200M
upload_max_filesize = 200M

- Restart php-fpm: systemctl restart php-fpm

4. Setup Mariadb database and user:
- Add the following to /etc/my.cnf.d/mariadb-server.cnf and then restart mariadb
[mariadb-10.5]
sql_mode=""

  • start mariadb: systemctl start mariadb
  • run: mysql_secure_installation and follow the steps to and reset mysql root password when asked.
  • login into mysql with root: mysql -u root -p password
  • Create: database: create database orangescrum;
  • Create user and grant privileges on orangescrum database: GRANT ALL PRIVILEGES ON orangescrum.* TO 'orange'@'localhost' IDENTIFIED BY 'Password1234!';


5. Download orangescrum from github: https://github.com/Orangescrum/orangescrum/releases
  • Transfer this file to your server to the location /var/www/html
  • Extract it: unzip orangescrum-main.zip

6. Still some things left to do.
  • Import the sql file under /var/www/html/orange: mysql -u root -p orangescrum < database.sql
  • Update the following file to match your database information: /var/www/html/orangescrum-main/app/Config/database.php

It should look something like this at the bottom of that file:

class DATABASE_CONFIG {

public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost', //ex. localhost
'login' => 'orange', //root
'password' => 'Password1234!',
'database' => 'orangescrum',//orangescrum
'prefix' => '',
//'encoding' => 'utf8',
);

  • Change all to apache: chown apache:apache -R /var/www/html/orangescrum-main
  • Enable the following selinux boolean: setsebool -P httpd_unified on
  • Now go to "orange1.example.com" or whatever you put for ServerName in your virtualhost.
  • The orangescrum webpage should now load, see my attachment.

I get to the page in the screenshot I attached. Pressing "Skip this step" doesn't work. You will have to report it to the project.
 

Attachments

  • Screenshot from 2023-05-14 12-54-24.png
    Screenshot from 2023-05-14 12-54-24.png
    97.6 KB · Views: 142
Last edited:
though ik you won't continue after this, it's for work. for learning. I'm not sure why your forum is hesitant to help aspiring professionals?
I have noticed you started the last 10 threads on this sub-forum. I'm reading some of them and stuff is alien and cryptic to me. That must be the case for many other members of this community.

I program in BASIC. Yes it's sad but I'm going to stick with it. Learned Turbo Pascal in high school but I'm still upset today I wasn't really able to get going with it, and Free Pascal is now an unmanageable mess that keeps me away. Tried C for a while, hated it. Could never get comfortable in C++ because I bought a book with "Primer" in the name that taught nothing, assumed one was already hacking it for years, such a waste of money and permanently turned me off about that culture. Absolutely compelled to learn Lua on my own while stuck without Internet and on a computer without a working hard disk, and therefore without Windows. Don't care about Python, no matter how pervasive it could be. Haskell, Ruby, Rust... meh all of you go away. Bewildered by Racket, liked their Dr.Racket IDE but have to get along with a 60-year-old programming language LOL. Recently discovered Julia, it has great potential but I feel I'm getting too old to learn anything else.

My only brush with database programming was with ISAM, which came with Microsoft BASIC Professional Development System v7.1. What a shame QB64 and other later BASIC dialects don't have anything like that. I rather liked dBASE III Plus, really light and easy to program, but that was before use of hard disks became commonplace and the company that created that program was taken over by another which turned it into slow-performing bloatware.

I'm sorry I'm not contributing anything to this topic nor the other ones you started. You're coming across some sort of generational gap.
 

Members online


Top