Line 22: |
Line 22: |
| | | |
| ==www/ocs/install.php bugs== | | ==www/ocs/install.php bugs== |
− | Quick howto for ocsagent.exe MySQL importation. BETA
| + | New doc, enjoy! |
| | | |
− | First, you need to import the file in the database. Go to www/ocs/install.php and relaunch the install (this is harmless) '''with an mysql admin account''' (I use phpmyadmin so this is ''admin'')
| + | => Why do we need really an admin account? Why can't we use ocs? |
− | | |
− | | |
− | If you get a warning, refresh and you should see a successful import. ''ocsagent.exe'' is now in the database. Actually, to allow download, OCS need to authenticate... That's why this file is in the database in binary code!
| |
− | | |
− | Once imported, the file should be deletable... But I need to verify that. Next time the agent version changes, then an update will be needed!
| |
− | | |
− | So, file is imported '''but the install reseted password to 'ocs''''
| |
− | | |
− | You need to apply changes:
| |
− | signal-event domain-modify
| |
− | | |
− | | |
− | | |
− | => Why do we need really an admin account? Why can't we use ocs? | |
| If you encounter any problem with files insertion, try setting the global max_allowed_packet mysql value to at least 2M in your server config file. | | If you encounter any problem with files insertion, try setting the global max_allowed_packet mysql value to at least 2M in your server config file. |
| How to set this value for ocs only? | | How to set this value for ocs only? |
Line 44: |
Line 30: |
| => install.php is needed, as you now know. But the file can be renamed or secured when not needed ;-) | | => install.php is needed, as you now know. But the file can be renamed or secured when not needed ;-) |
| ---- | | ---- |
− | | + | I didn't use this screenshot finally... It shows default MaxUpload can be seen here & ocsagent.exe not present |
− | Here's 3 screenshot already taken that I will use for the article when all of this will be clear.
| |
− | | |
− | Install.php
| |
− | | |
− | [[Image:OCS-installphp.png]]<br>
| |
− | ----
| |
− | Default MaxUpload can be seen here & ocsagent.exe not present
| |
| [[Image:OCS-installphp-warning.png]]<br> | | [[Image:OCS-installphp-warning.png]]<br> |
− | ----
| + | Should we delete it? |
− | ocsagent.exe present - successful import
| |
− | [[Image:OCS-installphp-ocsagent.png]]<br>
| |
| ---- | | ---- |
| | | |