Well, I figured it out.
In case that someone needs an answer:
This is from fabfile.py
...
with project():
manage("collectstatic -v 0 --noinput")
manage("syncdb --noinput")
manage("migrate --noinput")
...
red line was throwing the error because I am using Django > 1.7
After removing "red line", everything was perfect!!!
On Sunday, July 31, 2016 at 3:04:39 PM UTC-5, Darko Stefanovic wrote:
>
>
> Hi All. I am deploying mezzanine to Digitalocean.com. I created server in
> the cloud (portlet) so:
>
> - I am root and
> - i have static ip
> - ssh
>
> I have 2 scenarios here, one works , the other doesn't (I got an error) so
> this question is about non-working scenario. First, *SUCCESSful* scenario:
>
> - i am using virtualenv
> - installed Mezzanine using pip
> - mezzanine-project myproject
> - fab all -> WORKS PERFECTLY, i can go to my url or ip and see my "
> mywebsite.com" (hypothetical of course)
>
> Second, *FAILing* scenario:
>
> - i am using virtualenv (separate one)
> - installed Mezzanine using pip
> - mezzanine-project -a cartridge myproject
> - fab all FAILS (Unknown command: 'syncdb')
>
> ... ... -- ..... ...... manage.py syncdb --noinput -> [123.234.345.456]
> out: *Unknown command: 'syncdb'* [123.234.345.456] out: Type 'manage.py
> help' for usage. [123.234.345.456] out: Fatal error: run() received nonzero
> return code 1 while executing! What to do? (I am aware that syncdb is
> deprecated in django 1.7) Thank you,
>
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.