I seem to have minor issues with my dev system and even after upgrading have some issues. I would like to re-install the whole system but don’t want to loose the data in the database as well as my customization’s and custom modules.
So that I and others may learn this, would you mind advising me on how best to go about re-installing and restoring database and files on a SuiteCRM system?
I would definitely, first, create a subdomain and do a new install there. Then export your DB from PHPMyAdmin, create a new one just for the other installation and import the DB you exported. Do a fresh install (of the same version) and just edit your config file to point the database to new (copy) DB you just created.
As far as customizations go, you can copy of your custom folder to the new install and test.
I’ve never done it, but this would be my strategy.
Ok, not super familiar with 8 yet, but my strategy should work on 7. Some advice if I may. Re-installing probably won’t fix your issues (unless one of the upgrades missed some code). Whatever issues you are experiencing you’re likely to experience on a new install as well. You’re better off troubleshooting and fixing all the problems. At least that’s always been my approach. That way you know exactly what caused the issue and you can resolve it for good.
Most problems over many installations are caused by (in order):
File permissions
A server setting (usually memory and time out issues)
Sometimes a bug, usually a fix on Github if you look.
I’d say the above account for like 80-90% of all problems.
But let me say this. The problem that I am trying to resolve is Error in Cases on Dev and still exists on a fresh V7.12.7 install.
Immediately after the install finished:
I logged Out.
I logged in.
Selected Cases
Create Case
and still getting in browsers Java Script Console this error:
error adding script
sugar_grp1.js?v=jEYagrbvlLgG0FXnIKZdBg:425 SyntaxError: Unexpected token '<'
at eval (<anonymous>)
at sugar_grp1.js?v=jEYagrbvlLgG0FXnIKZdBg:418:156
at Object.globalEval (sugar_grp1.js?v=jEYagrbvlLgG0FXnIKZdBg:418:176)
at Object.evalScript (sugar_grp1.js?v=jEYagrbvlLgG0FXnIKZdBg:424:17)
at Object.callback [as success] (sugar_grp1.js?v=jEYagrbvlLgG0FXnIKZdBg:619:98)
at Object.handleTransactionResponse (sugar_grp1_yui.js?v=jEYagrbvlLgG0FXnIKZdBg:31:4422)
at sugar_grp1_yui.js?v=jEYagrbvlLgG0FXnIKZdBg:31:3935
Have you tried all the rebuild options for JS files in the Admin menu? I find that helps immensely with these kinds of errors… oh and ensure you flush your browser cache.
I just tried mine and I don’t get nay console errors. So try the repair.
On the new install version, No there is nothing. On my development box I have some custom JS. But this error is showing up on a brand new install with no customizations.