WSL op Synology DS213+

189 views
Skip to first unread message

Robert

unread,
Mar 6, 2014, 4:14:08 PM3/6/14
to webso...@googlegroups.com
Hallo,

Ik probeer om WSL op mijn synology DS213+ te installeren. Ik denk dat ik al een eindje gekomen ben maar op de een of andere manier wil het toch niet helemaal lukken.

De diagnistics geeft:
WSL running state:doesn't exists
not running
06-03-2014 21:56:56 

WebSolarLog is not running.
Please run the following command on the prompt of your Linux system to start WebSolarLog:
sudo /volume1/web/websolarlog/scripts/./wsl.sh start
or atleast check the running state with:
sudo /volume1/web/websolarlog/scripts/./wsl.sh status

DB sqlite:Let take a look at your sqlite Database;
DSN:
We use the following DSN to talk to the DB, please check if this looks good to you; sqlite:/volume1/web/websolarlog/database/wsl.sdb

Exists?

It looks like the DB exist
This is good.

Is the DB changing?
06-03-2014 21:56:56 
06-03-2014 21:43:30 
Longer then 10 sec. ago.
This is not good.
Try to (re)start WebSolarLog. WebSolarLog runs on a continuous process.
Therefore we should see atleast every 10 seconds a Database change.
See above for the start/stop/restart/status commands.

What are the DB permissions on the filesystem?
owner
6
read
write
-
group
4
read
-
-
world
4
read
-
-
The Owner needs atleast Read and Write (>=6) permissions.
It looks like the webserver user has sufficient rights on the database.

Logging:
If you experience any problems with WebSolarLog, please check the WebSolarLog logfiles.

Below you find the logfile locations;
Debug:
/volume1/web/websolarlog/log/debug.log
http://http://192.168.178.13/websolarlog/log/debug.log
Error:
/volume1/web/websolarlog/log/error.log
http://http://192.168.178.13/websolarlog/log/error.log
Time settings:
WSL needs correct date/time and timezone settings:

UCT timezone:
date and time: 2014-03-06 20:56:56

Your system:
Timezone: UTC
date and time: 2014-03-06 20:56:56

offset between UTC and UTC:
0 hour(s)
Check functions/extensions:Here we check if necessary functions and extensions are loaded and working.
Check if extensions are loaded:
- extension "curl": Loaded 
This looks good.
- extension "sqlite3": Loaded 
This looks good.
- extension "json": Loaded 
This looks good.
- extension "calendar": Loaded 
This looks good.
- extension "mcrypt": Loaded 
This looks good.
- function "mcrypt_module_open": Exists 
This looks good.

Encrypting test passed
This looks good. 

SQLite3:
We need atleast version 3.7.11.
3.7.3
Your SQLite version is to old and you may experiance unexpected behaviour.
Please update your SQLite version to atleast 3.7.11
 

PHP:
We need atleast version 5.3.10
5.3.27
This is good.
language:Your browser supports the following languages:
  • nl
  • en-US
  • en
WebSolarLog tries to set:
locale: nl_NL.UTF-8
domain: default
WebSolarLog session language set to:
session language: nl_NL




Er vallen me een aantal dingen op:

  1. Het commando om wsl te starten is volgens de diagnistics
      sudo /volume1/web/websolarlog/scripts/./wsl.sh start
    alleen de map "./" is een beetje raar, als ik dit op letterlijk overneem geeft hij de fout dat hij het bestand niet kan vinden. Pas ik het aan naar
      
    sudo bash /volume1/web/websolarlog/scripts/wsl.sh start
    Krijg ik om de 10sec. 
      Starting WebSolarLog..
      DiskStation> not running, starting
      /opt/bin/nohup: redirecting stderr to stdout
    De diagnistics blijft echter melden dat hij "not running" is.
  2. Logging:
     Ik krijg geen log files. De map /log is leeg en blijft leeg
  3. Check functiong/extentions
      SQLite3:
      We need atleast version 3.7.11.
      You are on version:3.7.3
    Echter als ik 
      
    DiskStation> sqlite3 version
      SQLite version 3.8.1 2013-10-17 12:57:35
  4. Ik heb nu dus geen idee wat er mis gaat en weet dus ook niet hoe nu verder.

Martin Diphoorn

unread,
Mar 6, 2014, 4:52:18 PM3/6/14
to webso...@googlegroups.com
heb je ook al in de scripts folder gekeken waaar wsl.sh staat. Daar staat een queueserver.log die misschien meer info heeft.

Robert

unread,
Mar 8, 2014, 4:03:37 PM3/8/14
to webso...@googlegroups.com
De queueserver.log geeft:

ClassLoader::Basic::Could not autoload: PDO,
 /volume1/web/websolarlog is used as documentRoot

Robert

unread,
Mar 12, 2014, 4:04:19 PM3/12/14
to webso...@googlegroups.com
Niemand een idee?

Marco

unread,
Mar 12, 2014, 4:09:16 PM3/12/14
to webso...@googlegroups.com
https://www.google.nl/search?q=synology+PDO

lijkt er sterk op dat er een PDO onderdeel op de synology mist.
Dat kan een PDO driver, extension van PHP zijn. 

Heb er zelf geen ervaring mee en is zo te zien genoeg te vinden op internet.

Willem Stolk

unread,
Jan 22, 2015, 5:04:33 PM1/22/15
to webso...@googlegroups.com
Robert , is dit jou nog gelukt? Het lukt mij niet om de wsl.sh te starten en ook de update pagina doet het niet ivm missend SVN.
Reply all
Reply to author
Forward
0 new messages