You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently setting up a new install of cloudlog. I have portainer running and I have a mariadb server with a cloudlog table and user to use. Here is my compose for cloudlog.
When I start the docker it loads and creates these 3 directories with no problems. I then go to the url I have setup in NPM and it loads and says the following
`Install Cloudlog
Please make the /application/config/ folder writable. Example:
chmod -R 777 /application/config/
Don't forget to restore the permissions afterwards.`
I noticed the folders created when I viewed them were owned by root:root. I go ahead and run the command for that folder and get the install page. I put in the information and then I get the following issue.
`
Warning: unlink(/var/www/html/install/assets/install.sql): Permission denied in /var/www/html/install/index.php on line 14
Warning: rmdir(/var/www/html/install/assets/): Directory not empty in /var/www/html/install/index.php on line 16
Warning: unlink(/var/www/html/install/config/config.php): Permission denied in /var/www/html/install/index.php on line 14
Warning: unlink(/var/www/html/install/config/database.php): Permission denied in /var/www/html/install/index.php on line 14
Warning: rmdir(/var/www/html/install/config/): Directory not empty in /var/www/html/install/index.php on line 16
Warning: unlink(/var/www/html/install/includes/core_class.php): Permission denied in /var/www/html/install/index.php on line 14
Warning: unlink(/var/www/html/install/includes/database_class.php): Permission denied in /var/www/html/install/index.php on line 14
Warning: rmdir(/var/www/html/install/includes/): Directory not empty in /var/www/html/install/index.php on line 16
Warning: rmdir(/var/www/html/install/): Directory not empty in /var/www/html/install/index.php on line 16
Warning: rmdir(/var/www/html/install): Directory not empty in /var/www/html/install/index.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/install/includes/core_class.php:127) in /var/www/html/install/index.php on line 67
Install successful
Please delete the install folder`
I went to the docker and removed the install directory myself. However when I then go to just the URL I configured I am now presented with the following error and then I am stuck.
An Error Was Encountered Unable to determine what should be displayed. A default route has not been specified in the routing file.
I have confirmed that in the config folder I edited the config.php file and added my NPM server there. So that the URL I configured will work. However this doesn't change anything. I'm not sure if this is due to the docker container creating the folders as root or not.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently setting up a new install of cloudlog. I have portainer running and I have a mariadb server with a cloudlog table and user to use. Here is my compose for cloudlog.
`version: '3.7'
services:
cloudlog:
image: 2m0sql/cloudlog:latest
container_name: cloudlog
restart: unless-stopped
volumes:
- /dockers/cloudlog/config:/var/www/html/application/config
- /dockers/cloudlog/backup:/var/www/html/application/backup
- /dockers/cloudlog/uploads:/var/www/html/application/uploads
networks:
default:
external:
name: dockers_default`
When I start the docker it loads and creates these 3 directories with no problems. I then go to the url I have setup in NPM and it loads and says the following
`Install Cloudlog
Please make the /application/config/ folder writable. Example:
chmod -R 777 /application/config/
Don't forget to restore the permissions afterwards.`
I noticed the folders created when I viewed them were owned by root:root. I go ahead and run the command for that folder and get the install page. I put in the information and then I get the following issue.
`
Warning: unlink(/var/www/html/install/assets/install.sql): Permission denied in /var/www/html/install/index.php on line 14
Warning: rmdir(/var/www/html/install/assets/): Directory not empty in /var/www/html/install/index.php on line 16
Warning: unlink(/var/www/html/install/config/config.php): Permission denied in /var/www/html/install/index.php on line 14
Warning: unlink(/var/www/html/install/config/database.php): Permission denied in /var/www/html/install/index.php on line 14
Warning: rmdir(/var/www/html/install/config/): Directory not empty in /var/www/html/install/index.php on line 16
Warning: unlink(/var/www/html/install/includes/core_class.php): Permission denied in /var/www/html/install/index.php on line 14
Warning: unlink(/var/www/html/install/includes/database_class.php): Permission denied in /var/www/html/install/index.php on line 14
Warning: rmdir(/var/www/html/install/includes/): Directory not empty in /var/www/html/install/index.php on line 16
Warning: rmdir(/var/www/html/install/): Directory not empty in /var/www/html/install/index.php on line 16
Warning: rmdir(/var/www/html/install): Directory not empty in /var/www/html/install/index.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/install/includes/core_class.php:127) in /var/www/html/install/index.php on line 67
Install successful
Please delete the install folder`
I went to the docker and removed the install directory myself. However when I then go to just the URL I configured I am now presented with the following error and then I am stuck.
An Error Was Encountered Unable to determine what should be displayed. A default route has not been specified in the routing file.
I have confirmed that in the config folder I edited the config.php file and added my NPM server there. So that the URL I configured will work. However this doesn't change anything. I'm not sure if this is due to the docker container creating the folders as root or not.
Beta Was this translation helpful? Give feedback.
All reactions