On advice from @phenomlab I uninstalled the plugin, rebuilt, installed plugin again, rebuilt and it was ok.
This had also happened to himself before.
@teh_g is that on cold load? What happens when you try to go to a different page?
@teh_g what language are you using? Can you test with en-GB
selected in your user settings?
@PitaJ said in Issue with Admin Panel since upgrade to 1.4.2:
@teh_g what language are you using? Can you test with
en-GB
selected in your user settings?
I am using en-US.
Switching to en-GB sort of works. On the initial load of the page, I get the same issue. If I do an F5 to reload, it shows the proper text.
@teh_g yeah I just pulled the latest from branch v1.x.x
and I can't repro.
@teh_g I'd suggest trying ./nodebb build
edit: I just tried it on linux as well. Worked fine.
@PitaJ can I ask you something, ./nodebb build
uses to close after finishing? here is showing
29/12 22:57:21 [490] - info: [build] Building javascript
29/12 22:57:21 [490] - info: [build] Building client-side CSS
29/12 22:57:44 [490] - info: [build] js => Completed in 22.595s
but it doesn't finishes, for minutes.
@priapo yeah the build script should close after finishing. It looks like you may have some corruption. Have you tried git reset --hard origin/v1.x.x
?
I tried installing it in the host instead of inside a cointainer, and the error continues the same
It returns a 404 error when acessing
https://thewizards.club/api/language/en-GB/admin%2Fadmin
But finds it when acessing
https://thewizards.club/api/language/en-GB/admin/admin
@PitaJ can you tell us what you did to install it? I followed the rules in the docs for the Ubuntu.
EDIT: also this
@priapo have you tried accessing without a reverse proxy?
@priapo so it must be something related to the reverse proxy. Maybe it's an issue caused by some weird issue between the reverse proxy and NodeBB
It was solved; here is my working Apache's nodebb.conf
:
<VirtualHost *:80>
ServerName thewizards.club
Redirect permanent / https://thewizards.club
</VirtualHost>
<VirtualHost *:443>
ServerName thewizards.club
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/apache2/ssl/thewizards-club/2_thewizards.club.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key.insecure
SSLCertificateChainFile /etc/apache2/ssl/thewizards-club/1_root_bundle.crt
# ServerAdmin [email protected]
<Proxy *>
Require all granted
</Proxy>
ProxyRequests off
#ProxyVia on
AllowEncodedSlashes On
#ProxyPreserveHost on
RequestHeader set X-Forwarded-Proto "https"
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/socket.io [NC]
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule /(.*) ws://127.0.0.1:4567/$1 [P,NE,L]
# NE flag == noescape
ProxyPass /socket.io http://127.0.0.1:4567/socket.io nocanon retry=0
ProxyPassReverse /socket.io http://127.0.0.1:4567/socket.io
ProxyPass / http://127.0.0.1:4567/ nocanon retry=0
ProxyPassReverse / http://127.0.0.1:4567/
ErrorLog /home/web/logs/apache/forum-error.log
CustomLog /home/web/logs/apache/forum-access.log combined
</VirtualHost>
I fixed it based on these resources: