linagora / linshare

LinShare
https://www.linshare.org/
GNU Affero General Public License v3.0
449 stars 84 forks source link

No ID cookie and 404 error #279

Open Mariaab1 opened 1 year ago

Mariaab1 commented 1 year ago

Hi, I recently installed linshare 6.0 on a debian 11. The versions of Tomcat, Apache, Postgre and MongoDB are correct.

However the admin dashboard looks blank and the following error appears

image

Also I think the session id cookie is missing.

image

Could you help me?

thank you :)

Mariaab1 commented 12 months ago

hello ? :(

fabienmoyon commented 12 months ago

Hello @Mariaab1 , Did you follow the web-server-installation, did you enable vhost files ?

I saw this error The requested resource [/linshare/webservice/rest/admin/v4/authentication/version] is not available, your apache is working well ? Maybe running the following commands will help you to know what is going wrong : systemctl status apache2 and apachectl -S

Regards, Fabien

Mariaab1 commented 12 months ago

Hello @fabienmoyon

I've followed the "web-server-installation", and yes the vhost files are enabled:

image

This is the "apachectl -S" output:

root@debian:~# apachectl -S
VirtualHost configuration:
*:80                   is a NameVirtualHost
         default server debian.maria (/etc/apache2/sites-enabled/linshare-ui-adm                                                                                                                               in.conf:1)
         port 80 namevhost debian.maria (/etc/apache2/sites-enabled/linshare-ui-                                                                                                                               admin.conf:1)
         port 80 namevhost linshare-upload-request.local (/etc/apache2/sites-ena                                                                                                                               bled/linshare-ui-upload-request.conf:1)
         port 80 namevhost linshare-user.local (/etc/apache2/sites-enabled/linsh                                                                                                                               are-ui-user.conf:1)
         port 80 namevhost nextcloud.tesintegra.net (/etc/apache2/sites-enabled/                                                                                                                               nextcloud.conf:1)
         port 80 namevhost debian.maria (/etc/apache2/sites-enabled/serverMaria.                                                                                                                               conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/run/apache2/" mechanism=default
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33

Regards, Maria

Mariaab1 commented 11 months ago

hello ? :(

wboudiche commented 11 months ago

Hello, I don't see the linshare-admin.local vhost in your list of enables ones

Mariaab1 commented 11 months ago

Is this one "linshare-ui-admin.conf", in the installation guide it is called like this:

image

wboudiche commented 10 months ago

Hi There is a problem in your config, when ypu run "apachectl -S" you should see lishare-admin.local in the list of vhosts