topic_unsolved Problem with Start page
since 3.2 i got a strange problem with DWC. The "website" is not accessable.
The RPI4 is in my network and accessible via SSH.
If i try to access over DNS (e.g. http://duet3/) or directly over the IP address the Apache server on the RPI is showing me the following message.
pi@duet3:~ $ sudo journalctl -u duetcontrolserver -f -- Logs begin at Tue 2021-01-12 13:17:01 GMT. -- Jan 12 13:26:51 duet3 DuetControlServer: Written by Christian Hammacher for Duet3D Jan 12 13:26:51 duet3 DuetControlServer: Licensed under the terms of the GNU Public License Version 3 Jan 12 13:26:52 duet3 DuetControlServer: [info] Settings loaded Jan 12 13:26:52 duet3 DuetControlServer: [info] Environment initialized Jan 12 13:26:52 duet3 DuetControlServer: [info] Connection to Duet established Jan 12 13:26:52 duet3 DuetControlServer: [info] IPC socket created at /var/run/dsf/dcs.sock Jan 12 13:26:52 duet3 systemd: Started Duet Control Server. Jan 12 13:26:52 duet3 DuetControlServer: [info] Starting macro file config.g on channel Trigger Jan 12 13:26:53 duet3 DuetControlServer: [info] Finished macro file config.g Jan 12 13:29:57 duet3 DuetControlServer: [info] System time has been changed
RPI4 via USB and ribbon cable connected to Duet3_MB6HC
pi@duet3:~ $ apt list 2>/dev/null | grep duet duetcontrolserver/stable,now 3.2.0 armhf [installed] duetruntime/stable,now 3.2.0 armhf [installed] duetsd/stable,now 1.1.0 all [installed] duetsoftwareframework/stable,now 3.2.0 armhf [installed] duettools/stable,now 3.2.0 armhf [installed] duetwebcontrol/stable,now 3.2.0 all [installed] duetwebserver/stable,now 3.2.0 armhf [installed]
Thanks for the hint. I have done a reinstall with a new SD-card - it worked
Oh it worked now? what changed?
@Phaedrux I thought that it helped to reinstall everything. First everthing worked well, but after configuring my RPI in the way I typically use it, i got the same problem again.
But I was able to find the point where something is going wrong.
What I have done:
Completly new image on SD card (v3.2). Everything worked correctly: DWS webpage is shown correctly in my network.
I want to run another Singlepage-Application an the RPI therefor I install nodejs with the following command
sudo apt-get install -y nodejs npm
and after finishing the installation, something is wrong with the Appache-Server (?).
And I get my old error message: "Apache2 default message"
Is there an Apache expert who has an idea?
How is it possible that the installation of nodejs is changing something that leads to my problem with the Apache?
@JBisc Something must be pulling apache2 in as a dependency. That isn't a problem as long as it isn't started or at least configured for a different port. Try running
sudo systemctl stop apache2.service sudo systemctl disable apache2.service sudo systemctl restart duetwebserver
if you don't use apache with npm. If you do, either configure DWS or Apache for a different port. The corresponding DWS config is
JBisc last edited by
@chrishamm Thanks I will try that!