Jelastic built-in file browser did not show subfolders - jelastic

I've deployed application in http://app.jelasticloud.com/ .
Application has file structure:
- www
-- vendors
--- moaction
---- moaction
--- twig
---- twig
The problem is that folders www/vendors/moaction/moaction and www/vendors/twig/twig are not accessible via file browser.

How did you deploy the application? From zip/tar, FTP, git etc.? If FTP, did you modify chmod - the problem may be that the Jelastic dashboard doesn't have read permissions there due to chmod values.
Alternatively it could be caused by browser cache; did you try logout/login again?
What did your hosting provider's support say about the issue? They can see the details at the server level to verify any issue at that side...

Related

How to deploy Laravel project in to shared server

I have a Laravel project, I want to deploy it into the server, the thing is that normally we have index.php and .htaccess inside the public folder, but in my case, I have brought these two files into the root. So I want to know, what are the changes needed in serve?
How can I upload this to server?
Solution 1
Somehow you need to get the ssh access as a shared user from your hosting provider and then you can use git to clone your repository into your server.
Solution 2
You can copy paste all of your project into the server using ftp from your cpanel or relevant control panel.
Solution 3
Use Amazon as your hosting as it gives 1 year free tier access, and also gives you ssh service. Follow the solution 1 after getting this.
Put back the files to the public folder. You can change the root path of your server to your project's public folder.
Follow the steps to do:
Go to /etc/apache2/sites-enabled/
Open the .conf file inside this folder
Change the docuementRoot to /etc/var/www/html/project_name/public
Restart the apache server using the following command:
sudo systemctl restart apache2

Site can't be reached when running IIS in Docker

I followed the instructions on the official Dockerhub repo for IIS (https://hub.docker.com/_/microsoft-windows-servercore-iis), but running into "Site can't be reached" when trying to access via the IP of the container.
I get 403 forbidden when I try htp://localhost:8000.
I copied a test.html page into C:/inetpub/wwwroot and verified by logging into the container as well.
The results of appcmd list site is as follows:
SITE "Default Web Site" (id:1,bindings:http/*:80:,state:Started)
403 typically indicates that the web address we are trying to access is not the root directory of the website.
I doubt if there exist any files, which have been copied to the remote docker container.
Please make sure that the directory where the dockerfile is located contains the content folder and contains all site files.
WORKDIR /inetpub/wwwroot
COPY content/ .
Feel free to let me know if the problem persists.
You are right in your analysis. What i didn't realize is IIS perhaps serves index.html as default and my file was called helloworld.html which obviously wasn't going to be to served when i access localhost:8000; it works when i try localhost:8000/helloworld.html.

Using NGINX server to deploy a Meteor App from Amazon Linux AMI 2013.09.2 instance receive Module Error

I am attempting to deploy my first web application (a version of Telescope from the MeteorJS framework) via Heroku to a custom subdomain from a Amazon Linux AMI 2013.09.2 instance. I am following along with this tutorial - http://satishgandham.com/2013/12/a-complete-guide-to-install-production-ready-telescope-on-your-own-server/ - but once I attempt to run Telescope using PORT=3000 MONGO_URL=mongodb://localhost:3000/Telescope ROOT_URL=http://ec2-54-193-42-229.us-west-1.compute.amazonaws.com node client/main.js, I receive this error message: Error: Cannot find module '/home/ec2-user/bundle/programs/server/node_modules/fibers/client/main.js'
What I have attempted to do to solve this problem is performed cp || mv on the file main.js which is originally located in the ~/Telescope/client directory over to /home/ec2-user/bundle/programs/server directory and even '/home/ec2-user/bundle/programs/server/node_modules/fibers but I cannot seem to separate main.js from the /client directory. I am not sure if that is the issue or if there is some other underlying problem but I want to find a work around to using a proxy server at this point. I thought that moving the main.js file out of the /client directory was sufficient but apparently not. I am not sure it is imperative for my purposes to continue attempting to use a proxy but if there is a fix, I would not mind learning about it.
Or if any one could direct me on how this - https://github.com/aldeed/deploymeteor/ - could be a potential work-around to using an NGINX server proxy your help would be much appreciated.
You are getting the error because you are not running the command from your home folder.
You were at bundle/programs/server/node_modules/fibers.
Either use absolute path for client/main.js, or cd to ~
MONGO_URL=mongodb://localhost:3000/Telescope ROOT_URL=http://ec2-54-193-42-229.us-west-1.compute.amazonaws.com node client/main.js
PS: It will be helpful for others if you asked the question on the post itself, instead of here

Access to the database file is not allowed.

I've just publish my Web Site via Visual Studio to my Domain name (Combell)...
So, when I try to access to my web site in my web browser, My Web Site works... BUT when I try to log on I got this error:
Access to the database file is not allowed. [ 1884,File name = D:\WebSites\tennisonlinebiz\www\App_Data\Tennis.sdf,SeCreateFile ]
I've found one solution in MSDN forum: http://forums.asp.net/t/1698244.aspx/1/10
This solution consists to change the permission property of the APP_Data folder in READ & Write, I've done this with FILEZilla but commands seem wrong:
CWD /
Response : 250 CWD command successful.
Command : SITE CHMOD 777 DAL
Response : 500 'SITE CHMOD 777 DAL': command not understood
Statut : Définir les permissions de '/Models' à '777'
Command : SITE CHMOD 777 Models
Response : 500 'SITE CHMOD 777 Models': command not understood
Can you help me to find a solution ? Thanks in advance
I have got a full control of my Microsoft Web Server 2008 so was able to change it directly. I have added this user IIS_IUSRS for this folder App_Data with all permissions except Full Control.
I can just guess if you are doing it through ftp, it adds probably Everyone which is ok but you are just not able to do it through FileZilla ftp? Try Total Commander or anything else or contact your provider to add it manually.
Check the user which is configured in IIS to access the physical path of the site. You can check by Test settings option in the Basic settings tab of the site.
Again the configured user should be configued as App pool user.Check the Advanced settings of the App pool which the site runs, and the Identity of the app pool should be the same user which we configured to access the physical path of the site.
This should resolve this error.

Directory access denied -- in server(bluehost)?

When i completed my project in codeigniter and uploaded to server it show directory access denied? What to do ...i have configured in config file but it doesn't work..
You will need to change read/write permissions for the directory hosting your codeigniter application. Refer to your hosting company's help section to see how this can be done.

Resources