Dear Communitiy,
my name ist Stephan and I am new with Linux and new with Suitecrm. I try to install Suitecrm on a raspberry pi. I am facing some problems and looking for help. I loaded down the version SuiteCRM-7.10.5.zip and copied all files to the root of my web server (apache).
As told I changed the access permissions as follows:
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload
sudo chmod -R 775 config_override.php 2>/dev/null
When I start the application it seems to be looking good at first site.
For what ever reason the Attachments to this call for help can not be uploaded. Therefore I put some screenshots in a dropbox. Please click on the link and you will see whats going on on my computer.
https://www.dropbox.com/sh/nofazd6hs8yktmc/AAAUBe5XEVKLUT5rRYmmJcoKa?dl=0
I think I have to install the mailaccount?
How do I change the file size for upload?
Also here help is appreciated.
But the core problem seems to be another. The raspberry does not have a classical root user. There is only one user, that is pi and the standard password is raspberry. On my pi is no other user installed. If you need root right you just call für SUDO.
As a layman I would say that I do not know how to connect/ open the database: provide database name/ user password (…)
Any help is highly welcome.
Thank you very much.
Stephan
Try
chown -R pi:pi .
from the root of SuiteCRM installation. If you don’t have a user called www-data, you shouldn’t make your files’ ownership be for that user. The user you should use in the chown command is the same user that your web-server is running under.
Which web server is that, anyway?
Also, find your php.ini file, that’s where you change max_upload_size.
You probably need to install some PHP modules (like mbstring, imap, etc).
OK, thank you. I understand that my linux knowledge is currently very poor. I did what you said, but now got another error:
[b][i]Writeable Custom Directory
The Custom Directory exists but is not writeable. You may have to change permissions on it (chmod 766) or right click on it and uncheck the read only option, depending on your Operating System. Please take the needed steps to make the file writeable.
Writable Cache Sub-Directories
The files or directories listed below are not writeable or are missing and cannot be created. Depending on your Operating System, correcting this may require you to change permissions on the files or parent directory (chmod 755), or to right click on the parent directory and uncheck the ‘read only’ option and apply it to all subfolders.
Please fix the following files or directories before proceeding:
/var/www/html/suitecrmfiles/cache/
/var/www/html/suitecrmfiles/cache/images
/var/www/html/suitecrmfiles/cache/layout
/var/www/html/suitecrmfiles/cache/pdf
/var/www/html/suitecrmfiles/cache/xml
/var/www/html/suitecrmfiles/cache/include/javascript
Writable Modules Sub-Directories and Files
Warning: Not Writable
Please fix the following module directories and the files under them before proceeding:
/modules
Writable Upload Directory
Warning: Not Writable
[/i][/b]
I do not feel good to keep you busy with that item, since it has got nothing to do with suitecrm but my lack of linux knowledge. So if you want to answer again it be great. Otherwise I will contact friends outside this forum to ask for help on linux.
Thank you very much!
You just need to find out which user the web server runs under in your Raspberry Pi, and use that in the chwon command, then it will work.
It seems that “pi” wasn’t the correct answer.
1 Like