Closed OneClickPonyy closed 2 years ago
Hi. How did you install selfoss? Particularly, what web server (Apache/nginx/…) and OS do you use?
This looks like the assets are not correctly pointed to the public/
directory. With Apache, this is controlled by .htaccess
file, which it is not enabled by default.
Hei,
the OS im using is centos7 release 7.9.2009 Apache: httpd-2.4.6.97.el7 php: 5.4.16 composer: 2.2.4 mysql: ver 15.1 mariadb 5.5.68
this is the manual ive used: https://www.vultr.com/docs/how-to-install-selfoss-rss-reader-on-a-centos-7-lamp-vps hope this info helps : )
This part should have taken care of that:
Open the file:
sudo vi /etc/httpd/conf/httpd.conf
Then find the section that starts with <Directory "/var/www/html"> and change AllowOverride none to AllowOverride All. The end result (with all comments removed) will look something like this:
<Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
Now save and close the Apache configuration file.
Assuming you installed selfoss under /var/www/html
.
And do not forget to restart Apache (using sudo systemctl restart httpd
).
This part should have taken care of that:
Open the file:
sudo vi /etc/httpd/conf/httpd.conf
Then find the section that starts with <Directory "/var/www/html"> and change AllowOverride none to AllowOverride All. The end result (with all comments removed) will look something like this:
<Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
Now save and close the Apache configuration file.
Assuming you installed selfoss under
/var/www/html
.And do not forget to restart Apache (using
sudo systemctl restart httpd
).
The file was already configurated like this
and the files from selfoss are in the right directory
ive also done systemctl restart httpd
Then that looks alright. Could you also check the contents of the public/
directory and what URL do you get when you click on the link in the browser developer tools?
Either the files are missing or selfoss is somehow incorrectly detecting a base path and producing wrong URLs.
Then that looks alright. Could you also check the contents of the
public/
directory and what URL do you get when you click on the link in the browser developer tools? Either the files are missing or selfoss is somehow incorrectly detecting a base path and producing wrong URLs.
so in public it looks like this:
and wehen i click on the dev URL it comes to this site: https://www.chromium.org/developers/design-documents/create-amazing-password-forms
Sorry, I meant the links on the right in the failed requests (like all.js
). Alternately, you can check the network panel.
nothing is happening its just empty field when i click on it - on all links on the right side from the error :(
Sorry, I misremembered how the dev tools work in Chromium. You need to right click it and then click “Open in new tab”. Then you should be able to see the URL in the address bar. At least I hope so, my console is somewhat different when I tried to simulate this by deleting some file:
Sorry, I misremembered how the dev tools work in Chromium. You need to right click it and then click “Open in new tab”. Then you should be able to see the URL in the address bar. At least I hope so, my console is somewhat different when I tried to simulate this by deleting some file:
okay so in every link i opened in a new tab i get error 404 every time. so the files exist that means some path are set false as you said
From that error, it looks like the files are being found relative to document root (/
), which should be correctly resolved to the public/
directory using the following rule:
https://github.com/fossar/selfoss/blob/2.18/.htaccess#L25
So it looks like the issue is in Apache configuration but I exhausted my Apache knowledge and the few troubleshooting guides I found do not provide anything much interesting either.
I guess you could try putting some gibberish to the top of the .htaccess
file. That should cause an Error 500 if the file is loaded by Apache.
selfoss 2.19 has been released, which completely revamps the asset loading. Please open a new issue if you still have problems.
My WebUI Body is "missing". Its something with Java i guess i also get this when im looking in to the dev tools:
This is what the page looks like:
*The machine is set up new so i dont have the problem after a update or something
Thanks in advance :)