Is there a way to reinstall without losing database

80 views
Skip to first unread message

bda...@a1limo.com

unread,
Dec 6, 2016, 4:18:34 PM12/6/16
to Concerto Digital Signage
I was troubleshooting earlier today and somewhere with the instructions

cd /usr/share/concerto
RAILS_ENV=production bundle update --source GEM_NAME (e.g. concerto_frontend)
RAILS_ENV=production bundle exec rake assets:precompile
sudo chown -R www-data:www-data *
sudo service apache2 restart

stopped working and it appears to be permissions which I have tried to verify and they look alright and I cannot find the problem.

If there is a script to reset permissions or even a way to export the database so I could move it to a new server.

Any ideas appreciated.

John Hyla

unread,
Dec 7, 2016, 8:39:08 AM12/7/16
to concerto-dig...@googlegroups.com

Inside the concerto folder you could always ‘chmod 777 –R .’ or maybe a little safer 770 to see if that helps. Before doing that though it might be worth trying to find the error and solve the permissions on a more granular level if the problem even has anything to do with permissions.. When you get the error in the browser I think there is a link that directs you to where it’s actually logging the full error… I think I mentioned in a past email that I believe it stores it in the default apache error log  which on Ubuntu is /var/log/apache2/error.log  -- might be worth clearing the file out so you don’t have to open an enormous log file each time.

 

What database are you using? MYSQL? If so you can install phpmyadmin and just use the export function in there… If you’re using the default database (I think it was sqlite) and if so your database is probably just stored in the file ‘concerto/db/production.sqlite3’ and you should just be able to copy that file somewhere.

--
You received this message because you are subscribed to the Google Groups "Concerto Digital Signage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concerto-digital-s...@googlegroups.com.
To post to this group, send email to concerto-dig...@googlegroups.com.
Visit this group at https://groups.google.com/group/concerto-digital-signage.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages